This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

LU Inverse

Compute inverse of square matrix using LU factorization


Math Functions / Matrices and Linear Algebra / Matrix Inverses



The LU Inverse block computes the inverse of the square input matrix A by factoring and inverting row-pivoted variant Ap.


L is a lower triangular square matrix with unity diagonal elements, and U is an upper triangular square matrix. The block outputs the inverse matrix A-1.


See Matrix Inverses for an example that uses the LU Inverse block.


Golub, G. H., and C. F. Van Loan. Matrix Computations. 3rd ed. Baltimore, MD: Johns Hopkins University Press, 1996.

Supported Data Types

  • Double-precision floating point

  • Single-precision floating point

See Also

Cholesky InverseDSP System Toolbox
LDL InverseDSP System Toolbox
LU FactorizationDSP System Toolbox
LU SolverDSP System Toolbox

See Matrix Inverses for related information.

Extended Capabilities

Introduced before R2006a