Area Under Curve (or Between Curve)
Afficher commentaires plus anciens

How to find area under curve, I try trapz, not working.
sample=data(:,2); w=data(:,3); z=13.2 plot(sample, w, sample, z); area(w,z)
how to calculate area of shaded region?
2 commentaires
Torsten
le 8 Déc 2015
Why does trapz not work ?
What's the error message ?
Best wishes
Torsten.
Jena Jenna
le 9 Déc 2015
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Numerical Integration and Differentiation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!