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

조회 수: 3 (최근 30일)
CocoA
CocoA 2017년 10월 30일
댓글: CocoA 2017년 10월 31일
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