Area under a shape?
3 ビュー (過去 30 日間)
古いコメントを表示
Hello, I'd really like to know how to calculate the area beneath a shape like this: 

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!