User's Manual

Matrices 483
Factorize
LQ LQ Factorization. Factorizes a m × n matrix into three
matrices L, Q, and P, where
{[L[m × n lowertrapezoidal]],[Q[n × n orthogonal]],
[P[m × m permutation]]}and P*A=L*Q.
LQ
(matrix)
Example:
LQ returns
LSQ Least Squares. Displays the minimum norm least squares
matrix (or vector) corresponding to the system
matrix1*X=matrix2.
LSQ(matrix1, matrix2)
Example:
LSQ returns
LU LU Decomposition. Factorizes a square matrix into three
matrices L, U, and P, where
{[L[lowertriangular]],[U[uppertriangular]],[P[permutation]]
}}
and P*A=L*U.
LU(matrix)
Example:
LU returns
12
34
2.2360 0
4.9193 0.8944
0.4472 0.8944
0.8944 0.4472
10
01
,,



12
34
5
11
,
1
2
12
34
10
0.3333 1
34
0 0.6666
10
01
,,


