Calculate partial area under plot
10 ビュー (過去 30 日間)
古いコメントを表示
Hi everyone,
I'm trying to calculate the crossed area under this closed graph:

I have a set of X,Y coordinates (red points), in which I plotted the closed graph. And the equation of a straight line of Y = a, which cuts the closed graph at 2 points. My goal is to find the sum of the areas of S, S1 and S2.
For the area of S, I used the polyarea(X,Y) function.
But I can't find a solution to calculate the S1 and S2 area.
Could anyone give me a suggestion, please?
Thank you!
0 件のコメント
回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!