Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How do I get the value under the curve?

1 Ansicht (letzte 30 Tage)
HV
HV am 19 Sep. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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 Kommentare
darova
darova am 19 Sep. 2019
I tried them but only got errors
What kind of errors do you have?
HV
HV am 27 Sep. 2019
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.

Antworten (1)

Harsha Priya Daggubati
Harsha Priya Daggubati am 23 Sep. 2019
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