Mathematics    

Function Summary

The linear algebra functions are located in the MATLAB matfun directory.

Function Summary  
Category
Function
Description
Matrix analysis
norm
Matrix or vector norm.

normest
Estimate the matrix 2-norm.

rank
Matrix rank.

det
Determinant.

trace
Sum of diagonal elements.

null
Null space.

orth
Orthogonalization.

rref
Reduced row echelon form.

subspace
Angle between two subspaces.
Linear equations
\ and /
Linear equation solution.

inv
Matrix inverse.

cond
Condition number for inversion.

condest
1-norm condition number estimate.

chol
Cholesky factorization.

cholinc
Incomplete Cholesky factorization.

lu
LU factorization.

luinc
Incomplete LU factorization.

qr
Orthogonal-triangular decomposition.

lsqnonneg
Nonnegative least-squares.

pinv
Pseudoinverse.

lscov
Least squares with known covariance.
Eigenvalues and singular values
eig
Eigenvalues and eigenvectors.

svd
Singular value decomposition.

eigs
A few eigenvalues.

svds
A few singular values.

poly
Characteristic polynomial.

polyeig
Polynomial eigenvalue problem.

condeig
Condition number for eigenvalues.

hess
Hessenberg form.

qz
QZ factorization.

schur
Schur decomposition.
Matrix functions
expm
Matrix exponential.

logm
Matrix logarithm.

sqrtm
Matrix square root.

funm
Evaluate general matrix function.


  Matrices and Linear Algebra Matrices in MATLAB