area under graph

回答 (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 ExchangeAnimation についてさらに検索

タグ

質問済み:

2012 年 2 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by