Find the volume under a 3D surface
46 views (last 30 days)
Show older comments
CS on 9 Jan 2021
Answered: John D'Errico on 9 Jan 2021
I've plotted a 3D surface of point clouds using
The plot looks like below:
I want to measure the volume below the surface, i.e. the volume of space surrounded by the xy plane, the xz plane, and the surface. How can I do that? Any idea?
John D'Errico on 9 Jan 2021
Since this appears to be a gridded surface, then you can just use trapz, twice. Call it once on the x dimension, and once on the y dimension.
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!