Find the volume under a 3D surface
10 ビュー (過去 30 日間)
古いコメントを表示
I've plotted a 3D surface of point clouds using
surface(x,y,z)
The plot looks like below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/482893/image.jpeg)
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?
Thanks!
0 件のコメント
回答 (1 件)
John D'Errico
2021 年 1 月 9 日
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.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!