Linear algebra functions in MATLAB®provide fast, numerically robust matrix calculations. Capabilities include a variety of matrix factorizations, linear equation solving, computation of eigenvalues or singular values, and more. For an introduction, seeMatrices in the MATLAB Environment.
Matrices in the MATLAB Environment
Matrix creation and basic operations.
Solve several types of systems of linear equations.
Eigenvalue and eigenvector computation.
Singular value decomposition (SVD).
Common matrix factorizations (Cholesky, LU, QR).
This example shows 3 of the 19 ways to compute the exponential of a matrix.
Determine Whether Matrix Is Symmetric Positive Definite
This topic explains how to use thechol
andeig
函数来判断一个矩阵是否symmetric positive definite (a symmetric matrix with all positive eigenvalues).
LAPACK provides a foundation of routines for linear algebra functions and matrix computations in MATLAB.