3d Mesh Volume Calculation

6 次查看(过去 30 天)
Jaehoon Jeong
Jaehoon Jeong 2017-8-4
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