y=5:-0.5:-5;

[X,Y]=meshgrid(x,y);

plot(X,Y,'o')

y=5:-0.5:-5;

[X,Y]=meshgrid(x,y);

plot(X,Y,'*',X,Y,'o' )

for i=1:50;

z=ones(1,31)*i;

plot3(x,y,z)

x=0:pi/15:2*pi;

for i=1:50;

z=ones(1,31)*i;

plot3(x,y,z) axis off

for i=1:0.1:2*pi;

for z=1:0.01:4;

x=sin(z)*cos(i);

y=sin(z)*sin(i);

plot3(x,y,z)

data=rand(10,10,10);

datas=smooth3(data,’box’,3);

%box 是光滑方法,Matlab 中提供可好几种方法, 具体查看帮助