Volume of irregular shape
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (2)
Steven Lord
le 6 Août 2015
1 vote
Gara
le 22 Jan 2025
0 votes
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.
Catégories
En savoir plus sur Bounding Regions dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!