How to find the area between the curves

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