File Exchange

image thumbnail

Matrix Inverse using LU factorization

version (2.46 KB) by Dirk-Jan Kroon
Example code LU decomposition with partial pivoting, also forward substitution, and Matrix inverse.


Updated 12 Jul 2012

View License

- Example code LU decomposition to lower triangular matrix L and upper triangular Matrix with partial pivoting

- Example code Forward and backward substitution, for solving linear systems of a triangular matrix.

- Example code LU based Matrix inverse.

Cite As

Dirk-Jan Kroon (2021). Matrix Inverse using LU factorization (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)


well program worked for real number matrix but it is not wworking for imaginary number matrix



and then if i run the code it shows error

Error using MatrixInverse (line 11)
Not enough input arguments.
can anybody help me out

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!