3d Mesh Volume Calculation

조회 수: 4 (최근 30일)
Jaehoon Jeong
Jaehoon Jeong 2017년 8월 4일
댓글: Andrei Bobrov 2017년 8월 5일
Hi,
I am a new Matlab user. I would like to calculate a volume of thing looking like my attachment below. Could I get your opinion to calculate it? I actually have no idea how to start it.
Thank you so much!

답변 (1개)

Andrei Bobrov
Andrei Bobrov 2017년 8월 4일
If your data (let A) is 2d array:
V = trapz(trapz(A,2));
  댓글 수: 2
Jaehoon Jeong
Jaehoon Jeong 2017년 8월 5일
편집: Jaehoon Jeong 2017년 8월 5일
Hi Andrei, thank you so much for your reply. One question, what does 2 mean in (A,2)
Thank you.
Andrei Bobrov
Andrei Bobrov 2017년 8월 5일
Please read about trapz.
Here "2" - parametr "dim".

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

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by