LU Factorization
• LU(M)—Returns the LU factorization of matrix M.
The function returns a vector of three nested matrices, P, L, and U such that P . M = L . U. Matrix P represents the pivoting matrix, and L and U represent the lower and upper triangular matrices, respectively.
Arguments
• M is a real or complex m x n matrix.