필터 지우기
필터 지우기

How to Compute the Volume under contour lines?

조회 수: 7 (최근 30일)
laxminarayana pasupuleti
laxminarayana pasupuleti 2017년 7월 17일
댓글: laxminarayana pasupuleti 2017년 7월 17일
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.

답변 (1개)

KSSV
KSSV 2017년 7월 17일
You may get the volume using trapz. YOu may have a look into following link:
  댓글 수: 1
laxminarayana pasupuleti
laxminarayana pasupuleti 2017년 7월 17일
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..

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by