3d Mesh Volume Calculation

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