Volume of irregular shape
조회 수: 9 (최근 30일)
이전 댓글 표시
I have for example X,Y,Z coordinates of 8 points which form an irregular shape. How can I calculate the volume with in this shape? Eg. coordinates area:
0 0 384,67
0 26,6 385,25
-47,85 26,6 385,9
-47,85 0 385,3
0 0 387,32
0 26,6 387,32
-47,85 26,6 387,32
-47,85 0 387,32
댓글 수: 0
채택된 답변
Torsten
2015년 8월 6일
편집: Torsten
2015년 8월 6일
댓글 수: 4
Gregory Vernon
2015년 8월 6일
편집: Walter Roberson
2025년 1월 22일
This answer assumes that your volume is convex. If your volume is concave, this method will return a larger volume. If you know the connectivity, and your volume is orientable, you can use the method outlined here:
https://en.wikipedia.org/wiki/Polyhedron#Volume (see "Orientable Polyhedra") https://en.wikipedia.org/wiki/Orientability
추가 답변 (2개)
Gara
2025년 1월 22일
This is a very common question. If you are not very well used to MATLAB, just try simple method. Your object or shape seems convex. So use the below method.
Enter all (8) coordinates in a matrix array
Ex: A=[x,y,z;x1,y1,z1;............];
[k,av]=convhull(A)
You will get answer as av=?
This should give you the volume of your 3-D object.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Bounding Regions에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!