1、命令行键入:
[X,Y] = meshgrid(-8:.5:8);
2、命令行键入:
R = sqrt(X.^2 + Y.^2) + eps;
3、命令行键入:
Z = sin(R)./R;
4、命令行键入:
mesh(X,Y,Z)