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!