中南大学matlab课后习题..docxVIP

  • 54
  • 0
  • 约5.42万字
  • 约 97页
  • 2017-01-01 发布于重庆
  • 举报
中南大学matlab课后习题.

第一章 实验内容1.2.例1-1 x=[0:0.5:360]*pi/180;plot(x,sin(x),x,cos(x));例1-2 p=[3,7,9,0,-23]; x=roots(p) x = -1.8857 -0.7604 + 1.7916i -0.7604 - 1.7916i 1.0732 例1-3 quad(x.*log(1+x),0,1)ans =0.2500例 1-4 a=[2,-3,1;8,3,2;45,1,-9]; b=[4;2;17]; x=inv(a)*bx = 0.4784 -0.87930.40543.(1)help inv inv Matrix inverse. inv(X) is the inverse of the square matrix X. A warning message is printed if X is badly scaled ornearly singular…(2)help plot plot Linear plot. plot(X,Y) plots vector Y versus vector X. If X or Y is a matrix, then the vector is plotted versus the row

文档评论(0)

1亿VIP精品文档

相关文档