How to find the integral of some values?

3 ビュー (過去 30 日間)
RoBoTBoY
RoBoTBoY 2020 年 6 月 27 日
コメント済み: Star Strider 2020 年 6 月 28 日
Hello community!
I have a file on excel with some values which are the output signal. So, I want to find the integral of these values.
How to do that in Matlab or Simulink?
PS. I have imported the excel file on workspace
Thanks in advance!

採用された回答

Star Strider
Star Strider 2020 年 6 月 27 日
use the trapz (or cumtrapz) function (depending on the result you want). It would be best to also have an independent variable (for example, time) as well as part of the integration, if you have access to it.
  6 件のコメント
RoBoTBoY
RoBoTBoY 2020 年 6 月 28 日
Thank you very much!
Star Strider
Star Strider 2020 年 6 月 28 日
As always, my pleasure!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by