Hi, does anyone know how to calculate the volume of a closed mesh shape?

3 Ansichten (letzte 30 Tage)
CocoA
CocoA am 30 Okt. 2017
Kommentiert: CocoA am 31 Okt. 2017
The shape is concave. I tried to use 'boundary', but the problem is that for the X and Y data the shrink factor must be zero, while I want the shrink factor to be 1 for the Z data. I also tried to grid the data but this doesn't give the desired result because the area is irregular. Is there another solution to get the volume from this irregular shape?
Thank you in advance!

Antworten (1)

KL
KL am 30 Okt. 2017
There's a blog post explaining the same. Find it on the below link: https://blogs.mathworks.com/loren/2011/06/13/calculating-the-area-under-a-surface/
  1 Kommentar
CocoA
CocoA am 31 Okt. 2017
Thank you for the help, but I do not quite get it yet. I attached an image of the shape I want to calculate the volume of. The blog suggests to use the functions fit and quad2d but as you can see in the image, it is not a rectangular/square area. Do you know how to solve that? Thanks a lot!

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by