Area under a shape?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
KSSV
le 18 Juil 2020
Read about polyarea, convhull.
convhull gives you coordinates of the points which defines your shape, with these corodinates youc an use polyarea.
4 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Numerical Integration and Differentiation dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!