MATLAB lu
The lu function calculates the LU decomposition of a matrix.
Usage
To solve the problem Ax = b, try:
[L, U] = lu(A); y = L \ b; x = U \ y;
The lu function calculates the LU decomposition of a matrix.
To solve the problem Ax = b, try:
[L, U] = lu(A); y = L \ b; x = U \ y;