How to calculate volume of surf plot (3d plot) en matlab?
20 ビュー (過去 30 日間)
古いコメントを表示
How to calculate volume of surf plot (3d plot) en matlab?
using variable x and y and function z
0 件のコメント
採用された回答
Star Strider
2021 年 9 月 17 日
x = 1:10;
y = 1:20;
[X,Y] = meshgrid(x,y);
z = exp(-((X-5)/5.*(Y-10)/10).^2)
zvol = trapz(x,trapz(y,z))
figure
surf(x, y, z)
grid on
.
4 件のコメント
Star Strider
2021 年 9 月 17 日
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!