Area under a shape?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
KSSV
il 18 Lug 2020
Read about polyarea, convhull.
convhull gives you coordinates of the points which defines your shape, with these corodinates youc an use polyarea.
4 Commenti
Più risposte (0)
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!