|
Size: 357
Comment: Note about A
|
← Revision 4 as of 2026-02-07 04:39:56 ⇥
Size: 364
Comment: Note about A 2
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| The '''`lu`''' function calculates the [[LinearAlgebra/LUDecomposition|LU decomposition]] of a matrix. | The '''`lu`''' function calculates the [[LinearAlgebra/LUDecomposition|LU decomposition]] of a square matrix. |
MATLAB lu
The lu function calculates the LU decomposition of a square matrix.
Usage
To solve the problem Ax = b for a square A, try:
[L, U] = lu(A); y = L \ b; x = U \ y;
The original A can be returned by L*U.
