Numerical integration of voltage over time

3 次查看(过去 30 天)
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!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by