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!

Answers (1)

If your data (let A) is 2d array:
V = trapz(trapz(A,2));

2 Comments

Jaehoon Jeong
Jaehoon Jeong on 5 Aug 2017
Edited: Jaehoon Jeong on 5 Aug 2017
Hi Andrei, thank you so much for your reply. One question, what does 2 mean in (A,2)
Thank you.
Please read about trapz.
Here "2" - parametr "dim".

Sign in to comment.

Tags

Asked:

on 4 Aug 2017

Commented:

on 5 Aug 2017

Community Treasure Hunt

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

Start Hunting!