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