3
代码说明:
说明: 1、随机生成一个5*5矩阵A,元素符合均匀分布;再随机生成一个5*5矩阵B,元素符合正态分布。对A和B进行加、减、乘、除、比较等矩阵运算,查看运算结果。 2、创建5阶魔术矩阵,求A的行列式、特征值、逆、秩、迹、条件数。 3、假设矩阵 ,求A的LU分解、正交分解、特征值分解、奇异值分解。 4、创建6阶单位稀疏矩阵,并显示其全部元素。 (1, randomly generated a 5* 5 matrix A, elements in line with uniform distribution then randomly generated a 5* 5 matrix B, elements in line with normal distribution. Pairs of A and B to add, subtract, multiply, divide, comparison matrix operations, view the results of operations. 2, create a 5-order magic matrix, find A, determinant, eigenvalues, inverse, rank, trace, the condition number. 3, assuming that matrix, find A, LU decomposition, orthogonal decomposition, eigenvalue decomposition, singular value decomposition. 4, create a six-order unit of sparse matrix, and display all of its elements.)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!