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일

0 개 추천

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".

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

카테고리

태그

질문:

2017년 8월 4일

댓글:

2017년 8월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by