MAT350 7.7 MATLAB: QR Factorization
In this activity you will find the QR factorization for a matrix.
Consider the matrix A.
-2 0 3
A = [ 1 3 1 ]
0 1 -1
Use the qr() command to find the QR factorization of A, where Q is an orthogonal matrix and R is an upper triangular matrix.
A = [-2 0 3; 1 3 1; 0 1 -1]
[Q, R] = qr(A)
Verify QR=A.
checkA = Q*R
Use the following matrix for this activity.
1 0 3 -1
B = [ -2 1 0 5 ]
0 0 1 7
Enter the matrix B. Then use the qr() command to
Note: Full answer to this question is available after purchase.
Reviews
There are no reviews yet.