area under graph
2 views (last 30 days)
Show older comments
how would I estimate area under curve using matlab?
0 Comments
Answers (1)
Andrei Bobrov
on 20 Feb 2012
>> doc trapz
ADD
c - your matrix "of flows"
dt = .5 % eg .5 sec
timeColumn = dt*(0:size(c,1)-1).'
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!