Numerical integration of voltage over time

3 ビュー (過去 30 日間)
Quong Axxong
Quong Axxong 2016 年 6 月 25 日
コメント済み: Star Strider 2016 年 6 月 25 日
I have the vectors of time (T) and voltage (V).
According to the following expression:
% integral from 0 to t of voltage V in dt = k * i (t)
where:
k = known constant; (unit measure: A*V^-1*s^-1)
i(t) = current intensity as a function of time.
How can I numerically integrate in Matlab the voltage V to get i(t)?

採用された回答

Star Strider
Star Strider 2016 年 6 月 25 日
I would use the cumtrapz function.
  4 件のコメント
Quong Axxong
Quong Axxong 2016 年 6 月 25 日
編集済み: Quong Axxong 2016 年 6 月 25 日
It worked with median.
Thank you so much, you have been very helpful with both answers!
Star Strider
Star Strider 2016 年 6 月 25 日
As always, my pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by