Mathematica基础——矩阵的基本操作

时间:2024-10-14 19:49:12

1、IdentityMatrix可以给出一个单位矩阵:IdentityMatrix[9]

Mathematica基础——矩阵的基本操作

2、用DiagonalMatrix可以给出指定的对角矩阵。

Mathematica基础——矩阵的基本操作

3、构造三对角矩阵,可以用下面的两种方法。

Mathematica基础——矩阵的基本操作
Mathematica基础——矩阵的基本操作

4、用旋转矩阵函数RotationMatrix,把向量{a,b}逆时针方向旋转u角度。

Mathematica基础——矩阵的基本操作

5、用HilbertMatrix给出指定的Hilbert矩阵:HilbertMatrix[{m,n}]

Mathematica基础——矩阵的基本操作
Mathematica基础——矩阵的基本操作

6、DistanceMatrix给出两个数字列表之间的差值的绝对值矩阵。

Mathematica基础——矩阵的基本操作
© 手抄报圈