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

时间:2026-02-14 06:12:57

本文,介绍一下Mathematica对于矩阵的操作技巧。

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

工具/原料

电脑

Mathematica

方法/步骤

IdentityMatrix可以给出一个单位矩阵:

IdentityMatrix[9]

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

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

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

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

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

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

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

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

用HilbertMatrix给出指定的Hilbert矩阵:

HilbertMatrix[{m,n}]

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

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

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

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

注意事项

本文就说这么多!

© 2026 一点资料
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com