Calculate Volume of a Matrix
15 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have a Matrix which I have turned into a 3D image using mesh. How can I calculate the volume of this matrix? I am trying to find total displacement across the Matrix.
0 commentaires
Réponses (2)
Walter Roberson
le 31 Mar 2011
You could go row by row and trapz(), sum all of those, multiply by the row width to get the volume.
2 commentaires
eevee
le 24 Oct 2014
Hi Walter,
I've got a similar question to Nels, I guess. I'm new to MATLAB.
I have plotted a bathymetry from xyz data file. Now, I have to calculate its volume. How should I do it?
Hope to hear from you soon!
Thanks,
Eve
Image Analyst
le 24 Oct 2014
Start your own question (a new, separate question/discussion) and attach your data file and m-code to read it into your volumetric array.
Voir également
Catégories
En savoir plus sur 3-D Volumetric Image Processing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!