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!

Antworten (1)

Andrei Bobrov
Andrei Bobrov am 4 Aug. 2017

0 Stimmen

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

2 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Tags

Gefragt:

am 4 Aug. 2017

Kommentiert:

am 5 Aug. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by