MATLAB 第次上机实验报告.docVIP

  • 13
  • 0
  • 约3.57千字
  • 约 5页
  • 2016-11-22 发布于贵州
  • 举报
MATLAB 第次上机实验报告

MATLAB 第五次上机实验报告 Quit 3.3 1题 %calculate x versus y1 and y2 x=0:pi/10:2*pi; y1=sin(x); y2=cos(2*x); %plot y1 and y2; plot(x,y1,-ro,LineWidth,2,MarkerSize,6,MarkerEdgeColor,b,MarkerFaceColor,b) hold on plot(x,y2,-ro,LineWidth,2,MarkerSize,6,MarkerEdgeColor,b,MarkerFaceColor,b) hold off legend(sinx,cosx) 2题 Write the MATLAB text string that will produce the following expressions 3题f(x) = sinθ cos2ф Answer: \it {f}(x)=sin\theta cos2\phi 4题4. Plot of Σx^2 versus x Answer: plot of \Sigmax^2 versus x Write the expression produced by the following text sti

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档