Effacer les filtres
Effacer les filtres

How to Compute the Volume under contour lines?

7 vues (au cours des 30 derniers jours)
laxminarayana pasupuleti
laxminarayana pasupuleti le 17 Juil 2017
hi, output of my data set is 5x15 matrix, with this a contourf was plotted. the plot displays differnt colous since i used contourf command. so, i would like to compute volume of each contour line, iam having area under each contour line (this is for further information only) .. please help me.

Réponses (1)

KSSV
KSSV le 17 Juil 2017
You may get the volume using trapz. YOu may have a look into following link:
  1 commentaire
laxminarayana pasupuleti
laxminarayana pasupuleti le 17 Juil 2017
Thank you for reply, as per your suggestion, i use below code trapz(y,trapz(x,Z,2),1)..this is giving some answer but it was wrong.. can you tell me, in abobe code what is meaning of 2 and 1..

Connectez-vous pour commenter.

Catégories

En savoir plus sur Lighting, Transparency, and Shading dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by