An online calculator that QR decomposes a given matrix \( A \) of dimension \( m \times n \) as the product of an orthogonal matrix \( Q \) and an upper triangular matrix \( R \) of dimension \( n \times n \).
The decomposition is possible if \( m \ge n \) and the columns of matrix \( A \) are linearly independent .
Number of Rows: \( m = \) Number of Columns: \( n = \)

Click here to enter \( m \) and \( n \) and generate a random matrix

Change values of cells above (if needed) and click here