基于.MATLAB的数值分析.pptVIP

  • 9
  • 0
  • 约3.05千字
  • 约 35页
  • 2016-07-25 发布于安徽
  • 举报
第三章 线性代数;? 例: 不同范数意义下的单位圆 运行以下Matlab程序,文件名为:normpolt.m 描绘norm(x,1)=1;norm(x,2)=1;norm(x,inf)=1 的图形 ;For matrices... norm(X) is the largest singular value of X, max(svd(X)). norm(X,2) is the same as norm(X). norm(X,1) is the 1-norm of X, the largest column sum, = max(sum(abs(X))). norm(X,inf) is the infinity norm of X, the largest row sum, = max(sum(abs(X))). norm(X,fro) is the Frobenius norm, sqrt(sum(diag(X*X))). norm(X,P) is available for matrix X only if P is 1, 2, inf or fro.;;例:分别求x=[1 3 7 8 -2],y=[3 9 3 -3 9]的长度与它们的夹角。 x=[1 3 7 8 -2];y=[3 9

文档评论(0)

1亿VIP精品文档

相关文档