主要内容

本页翻译不是最新的。点击此处可查看最新英文版本。

线性代数

有关符号向量和矩阵的线性代数运算

线性代数是研究线性方程及其性质的学科。Symbolic Math Toolbox™ 提供用于求解线性方程组的函数。您还可以使用 Symbolic Math Toolbox 函数分析、变换和分解矩阵。

函数

全部展开

矩阵运算

catConcatenate symbolic arrays along specified dimension
colonCreate symbolic vectors, array subscripting, and for-loop iterators
horzcatConcatenate symbolic arrays horizontally
sortSort elements of symbolic arrays
vertcatConcatenate symbolic arrays vertically

矩阵变换

diagCreate diagonal matrix or get diagonals from symbolic matrices
reshapeReshape symbolic array
trilReturn lower triangular part of symbolic matrix
triuReturn upper triangular part of symbolic matrix

求解线性方程

adjointClassical adjoint (adjugate) of square matrix
condCondition number of matrix
detDeterminant of symbolic matrix
equationsToMatrixConvert linear equations to matrix form
invInverse of symbolic matrix
linsolveSolve symbolic linear equations in matrix form
normNorm of symbolic vector or matrix
pinvMoore-Penrose inverse (pseudoinverse) of symbolic matrix
rankRank of symbolic matrix
rrefReduced row echelon form of matrix (Gauss-Jordan elimination)

矩阵基底

colspaceBasis for column space of matrix
nullForm basis for null space of matrix
orthOrthonormal basis for range of symbolic matrix

矩阵因式分解

cholCholesky factorization
luLU factorization
qrQR decomposition of symbolic matrix
svdSingular value decomposition of symbolic matrix
charpolyCharacteristic polynomial of matrix
eigEigenvalues and eigenvectors of symbolic matrix
jordanJordan normal form (Jordan canonical form)
curlCurl of symbolic vector field
divergenceDivergence of symbolic vector field
gradientGradient vector of symbolic scalar field
hessianHessian matrix of symbolic scalar function
jacobian符号函数的雅可比矩阵
laplacianLaplacian of symbolic field
potentialPotential of vector field
vectorPotentialVector potential of vector field

范式

hermiteFormHermite form of matrix
jordanJordan normal form (Jordan canonical form)
smithFormSmith form of matrix

特殊矩阵

bernsteinMatrixBernstein matrix
toeplitzSymbolic Toeplitz matrix
expmMatrix exponential of symbolic matrices
funmGeneral matrix function
logmMatrix logarithm
sqrtmMatrix square root

主题

精选示例