Area under a shape?
2 次查看(过去 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!