integral of a numerical vectors
显示 更早的评论
Hi,
I have 2 vectors containing time and Voltage values respectively: 1. vector containing voltage values - "Volt" 2. vector containing time values - "Time" I want to calculate the integral of "Volt" vector as function of the time, the range is from the first value of the vector to the last value.
please help me, Itai
回答(1 个)
Zoltán Csáti
2014-11-24
trapz(Time,Volt);
3 个评论
itai
2014-11-24
Zoltán Csáti
2014-11-24
You are wellcome.
Zoltán Csáti
2014-11-24
Perhaps you can accept my answer if it was helpful.
类别
在 帮助中心 和 File Exchange 中查找有关 Numerical Integration and Differentiation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!