文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 高等教育 > 工学 > MATLAB+程序设计与应用》刘卫国高等教育出版社课后答案【khdaw_lxywyl...
侵权投诉

MATLAB+程序设计与应用》刘卫国高等教育出版社课后答案【khdaw_lxywyl...

); plot(x,y);title('y=[0.5+3sin(x)/(1+x^{2})]cos(x)的图像如下:')
课后答案网 doc.guandang.net
sy623 clear all x=linspace(-2*pi,2*pi,500); y1=x.^2; y2=cos(2*x); y3=y1.*y2; subplot(3,3,1); bar(x,y1); %条形图 subplot(3,3,2); stairs(x,y1); %阶梯图 subplot(3,3,3); stem(x,y1); %杆图 subplot(3,3,4); bar(x,y2); subplot(3,3,5); stairs(x,y2); subplot(3,3,6);
ww
w.
课
sy622 clear all; x=logspace(0,2*pi,101); y=(0.5+3*sin(x)./(1+x.^2)).*cos(x); plot(x,y)
kh da w.

后 答 案
网
co
sy621 clear all x=linspace(-2*pi,2*pi,500); y1=x.^2; y2=cos(2*x); y3=y1.*y2; plot(x,y1,'b-',x,y2,'r--',x,y3,'k:');
m
stem(x,y2); subplot(3,3,7); bar(x,y3); subplot(3,3,8); stairs(x,y3); subplot(3,3,9); stem(x,y3);
课后答案网 doc.guandang.net
sy605 clear all x1=linspace(-5,5,21); y1=linspace(0,10,31); [x,y]=meshgrid(x1,y1); z=cos(x).*cos(y).*exp(-0.25.*sqrt(x.^2+y.^2)) subplot(2,1,1);
ww
w.
sy604 clear all a=input('请输入一个数a:'); b=input('请输入一个数b:'); n=input('请输入一个数n:'); theta=linspace(0,2*pi,500); rho=a*sin(b+n.*theta); polar(theta,rho);
kh da w.

课 后 答 案
sy603 clear all t=linspace(-5,5,200); H=[]; for x=t if x<=0 y1=(x+sqrt(pi))/exp(2); elseif x>0 y1=0.5*log(x+sqrt(1+x.^2)); end H=[H,y1]; end plot(t,H,'r:');
网
co
m
surf(x,y,z); subplot(2,1,2); contour3(x,y,z,30);
课后答案网 doc.guandang.net
ww
w.
kh da w.

课 后 答 案
sy606 clear all s=linspace(0,0.5*pi,10); t=linspace(0,1.5*pi,30); [S,T]=meshgrid(s,t); x=cos(S).*cos(T); y=cos(S).*sin(T); z=sin(S); colormap(prism); figure(1) surf(x); figure(2) surf(y);shading flat; figure(3) surf(z);shading interp;
网
co
m
701 clear all hf=figure('Color',[1,0,0],'KeyPressFcn','disp(''Left Button Pressed'')');
课后答案网 doc.guandang.net
705
%实验七底层绘图操作 clear all; [x,y,z]=cylinder(3,500);%cylinder是生成柱体的函数 surf(x,y,z) title('实验七第五题圆柱体的光照和材料处理'); xlabel('X-axis'); ylabel('Y-axis'); zlabel('Z-axis'); axis([-5,5,-5,5,0,1]) grid off; light('Color','r','Position',[-4,0,0],'Style','infinite');
ww
w.
kh da w.

课 后 答 案
703 clear all a=linspace(-2*pi,2*pi,40); b=linspace(-2*pi,2*pi,40); [x,t]=meshgrid(a,b); v=10*exp(-0.01*x).*sin(2000*pi*t-0.2*x+pi); axes('view',[-37.5,30]); h=surface(x,t,v,'FaceColor','w','EdgeColor','flat'); grid on; title('函数图像如下'); set(h,'FaceColor','flat');
网
co
702 clear all x=linspace(-2*pi,2*pi,500); y=x.^2.*exp(2*x); h=plot(x,y); set(h,'Color','r','LineStyle',':','LineWidth',5) title('下图是y=x^2e^{2x}曲线的图像');
m
shading interp; material shiny; view(0,10); lighting phong; axis off;
课后答案网 doc.guandang.net
ww
w.
kh da w.

课 后 答 案
网
co
m

上一页第4页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email