Hi all,
How do I plot a whole Integration process like displayed in the picture? (thin blue graph) My data are from vectors x=[TIME], y=[POWER], so I can see the energy consumption at a certain time. I tried to use trapz, but it just gives me the final value.
Thanks!
Simon

 採用された回答

A Jenkins
A Jenkins 2014 年 6 月 30 日

0 投票

Do you want the cumulative integral?
help cumtrapz

1 件のコメント

Simon
Simon 2014 年 6 月 30 日
Oh didn't find that one... Thanks!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

質問済み:

2014 年 6 月 30 日

コメント済み:

2014 年 6 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by