How to find the area between the curves

조회 수: 1 (최근 30일)
Tariq Anwar Aquib
Tariq Anwar Aquib 2020년 1월 12일
답변: Shubh Sahu 2020년 1월 30일
Hi all,
Being new to matlab I am not able to find the answer.
I have a curve, and I need to find the area enclosed by it.
Please see the attached picture.
Any help would be appreciated. :)
  댓글 수: 2
Star Strider
Star Strider 2020년 1월 12일
This may be a parametric three-dimensional problem, and that would affect how the area would be calculated.
We cannot tell, because we do not have access to the code or data that created it.
Tariq Anwar Aquib
Tariq Anwar Aquib 2020년 1월 12일
I extracted the data from a different software and simply plotted it on matlab.

댓글을 달려면 로그인하십시오.

답변 (1개)

Shubh Sahu
Shubh Sahu 2020년 1월 30일
Hey!
If you have x and y vectors of the same length, then you can use polyarea or trapz fucntion.
for more information please refer to these links:

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by