QR Decomposition |
qr(A) Returns a matrix whose first m columns contain the square, orthonormal matrix Q, with the same number of rows as A, and whose remaining n columns contain the upper triangular matrix, R, satisfying the equation A = Q·R. Use the function submatrix to extract these smaller matrices. The qr function uses the Householder algorithm.