Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How do I get the value under the curve?

1 回表示 (過去 30 日間)
HV
HV 2019 年 9 月 19 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hello,
I want know the value under a specific curve I have. I have already tried the command: area
But I want to know the exact value under the entire curve, I dont know which command(s) I have to use to get to this answer.
Can someone help me with this?
This is the script I am using.
Thanks in advance
  5 件のコメント
darova
darova 2019 年 9 月 19 日
I tried them but only got errors
What kind of errors do you have?
HV
HV 2019 年 9 月 27 日
Sorry for my late response.
I got errors for NaN, then I found a way how to fix that issue.
In the end I found the area under the curve with trapz.

回答 (1 件)

Harsha Priya Daggubati
Harsha Priya Daggubati 2019 年 9 月 23 日
Hi
There is a similar question asked in the community. You can refer to the following link:

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by