= MATLAB qr = The '''`qr`''' function calculates the [[LinearAlgebra/Orthonormalization#QR_Decomposition|QR decomposition]] of any matrix. <> ---- == Usage == To solve the problem `Ax = b` for any size matrix `A`, try: {{{ [Q, R] = qr(A); y = Q' * b; x = R \ y; }}} The original `A` can be returned by `Q*R`. ---- CategoryRicottone