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

5 次查看(过去 30 天)
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!

回答(1 个)

KL
KL 2017-10-30
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 个评论
CocoA
CocoA 2017-10-31
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!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 3-D Volumetric Image Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by