File Exchange

image thumbnail

Matrix Inverse using LU factorization

version 1.0 (2.46 KB) by

Example code LU decomposition with partial pivoting, also forward substitution, and Matrix inverse.

12 Downloads

Updated

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.

Comments and Ratings (2)

pritesh

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

pritesh

A=rand(3,3);

and then if i run the code it shows error

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

MATLAB Release
MATLAB 7.12 (R2011a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video