Area under a shape?
1 回表示 (過去 30 日間)
古いコメントを表示
Hello, I'd really like to know how to calculate the area beneath a shape like this: ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/333618/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/333618/image.png)
So from the outer borders to x-axis. Since the values are repeating I reckon trapz() doesn't work.
0 件のコメント
採用された回答
KSSV
2020 年 7 月 18 日
Read about polyarea, convhull.
convhull gives you coordinates of the points which defines your shape, with these corodinates youc an use polyarea.
4 件のコメント
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!