正在加载图片...
Name】 Number_ Major. ⅡP1ot(20') 2.Please complete the following figure:(4') 1.Please draw the figure which is displayed after the following statements:(4') x=0:0.1:pi x=123:23434 plot(x sinx) hold on y1=ones(3): Y2=13524357刀 plot(x cos(x)- subplot(211k titlesn/kost树n xlabelfx] plot(x,y1): subplot[212 ylabelfy) plot(x.y2:-] legend('sin(x.'cosx) tex(5,0.7,point of intersection grid on 2 0.8 05 15 2253 35 4 45 02 04 06 235445 Name Number Major 3 Ⅱ Plot(20’) 1. Please draw the figure which is displayed after the following statements: (4’) x = [1 2 3; 2 3 4; 3 4 5]; y1 = ones(3); y2 = [1 3 5; 2 4 6; 3 5 7]; subplot(211); plot(x, y1); subplot(212); plot(x,y2,’--’); 2. Please complete the following figure: (4’) x = 0: 0.1: pi; plot(x, sin(x)); hold on plot(x, cos(x), 'r--') title('sin(x)/cos(x)') xlabel('x') ylabel('y') legend('sin(x)', 'cos(x)') text(0.75, 0.7, 'point of intersection') grid on
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有