代码搜索结果

找到约 18,795 项符合 X 的代码

liti4.m

x=linspace(0.0001,0.01,1000); y=sin(1./x); plot(x,y) axis([0.005 0.01 -1 1])

liti14.m

[x,y,z]=peaks(30); surf(x,y,z) axis([-3 3 -3 3 -10 10]) %axis off %shading interp %colormap(hot) m=moviein(15); for i=1:15 view(-37.5+24*(i-1),30) m(:,i)=getframe; end movie(m)

liti32.m

[x,y,z]=sphere(16); X=[x(:)*.5 x(:)*.75 x(:)]; Y=[y(:)*.5 y(:)*.75 y(:)]; Z=[z(:)*.5 z(:)*.75 z(:)]; S=repmat([1 .75 .5]*10,prod(size(x)),1); C=repmat([1 2 3],prod(size(x)),1); scatter3(X(:),Y(:

liti11.m

x=-3:0.1:3; y=1:0.1:5; [X,Y]=meshgrid(x,y); Z=(X+Y).^2; surf(X,Y,Z) shading flat rotate3d

xch14.m

x=linspace(-6,6,100); y=1./(x.^2+1); x1=linspace(-6,6,41); y1=1./(x1.^2+1); plot(x,y,x1,y1,x1,y1,'o','LineWidth',1.5), gtext('n=40'),

xch12.m

x=linspace(-6,6,100); y=1./(x.^2+1); x1=linspace(-6,6,11); y1=1./(x1.^2+1); plot(x,y,x1,y1,x1,y1,'o','LineWidth',1.5), gtext('n=10'),

wendu.m

x=1:5; y=1:3; temps=[82 81 80 82 84;79 63 61 65 81;84 84 82 85 86]; mesh(x,y,temps) pause xi=1:0.2:5; yi=1:0.2:3; zi=interp2(x,y,temps,xi',yi,'cubic'); figure(2) mesh(xi,yi,zi)

xch11.m

x=linspace(-6,6,100); y=1./(x.^2+1); x1=linspace(-6,6,5); y1=1./(x1.^2+1); plot(x,y,x1,y1,x1,y1,'o','LineWidth',1.5), gtext('n=4'),

xch13.m

x=linspace(-6,6,100); y=1./(x.^2+1); x1=linspace(-6,6,21); y1=1./(x1.^2+1); plot(x,y,x1,y1,x1,y1,'o','LineWidth',1.5), gtext('n=20'),

shuzu1.m

x=[1 2 3 4 5 8 7 18] y=1:7 z=3:2:9 v=[y z] u=linspace(2,9,11)