Can u please help me here, how to draw this type type of graph
1 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Yusuf Suer Erdem
2021-11-25
Hi Parveiz, try these codes below please, good luck.
clc; clear; close all;
[X,Y,Z] = meshgrid(-2:.2:2);
V = X.*exp(-X.^2-Y.^2-Z.^2);
xslice = [-1.2,0.8,2];
yslice = [];
zslice = [];
slice(X,Y,Z,V,xslice,yslice,zslice)
3 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!