Filter löschen
Filter löschen

How to Compute the Volume under contour lines?

7 Ansichten (letzte 30 Tage)
laxminarayana pasupuleti
laxminarayana pasupuleti am 17 Jul. 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.

Antworten (1)

KSSV
KSSV am 17 Jul. 2017
You may get the volume using trapz. YOu may have a look into following link:
  1 Kommentar
laxminarayana pasupuleti
laxminarayana pasupuleti am 17 Jul. 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..

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Lighting, Transparency, and Shading finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by