Linear Equations

Solve linear systems, least squares


cond Condition number with respect to inversion
condest 1-norm condition number estimate
inv Matrix inverse
linsolve Solve linear system of equations
lscov Least-squares solution in presence of known covariance
lsqnonneg Solve nonnegative least-squares constraints problem
pinv Moore-Penrose pseudoinverse of matrix
rcond Reciprocal condition number
sylvester Solve Sylvester equation AX + XB = C for X
mldivide Solve systems of linear equations Ax = B for x
mrdivide Solve systems of linear equations xA = B for x

Examples and How To

Was this topic helpful?