답변 (1개)

Andrei Bobrov
Andrei Bobrov 2012년 2월 20일

0 개 추천

>> doc trapz
ADD
c - your matrix "of flows"
dt = .5 % eg .5 sec
timeColumn = dt*(0:size(c,1)-1).'

댓글 수: 1

john
john 2012년 2월 20일
thanks, ill look at that later but I was thinking of using an estimation using summation that its equal to sum*dt would there be a simple way of doing this? I have a matrix of flows and want to use one column of them and find the area of the graph of that column vs. time

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터 및 File Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

태그

질문:

2012년 2월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by