Question: I need to know how to solve this question? I know how to do it but I don't know if my solution is correct. Thanks
This function should compute the information about a QR factorization of any mx n input matrix a with m n and rank (a) = n. In the retumed matrix f 1) The upper triangular portion of f will contain the upper triangular portion of R. 2) The portion of fbelow the diagonal will contain the information about the vectors used to define the Householder matrices used in reducing the input matrix to an upper triangular matrix. Normalize the vectors defining the Householder matrices so that the first element of the vector is 1. Store the rest of the elements of the vector below the diagonal in the locations that would be zeroed by the Houscholder matrix. (The entry set to 1 does not get stored). For example, the form of the matrix returned for a 5x3 matrix is shown below. In this form, nj represents the entry in row i and column j of R, and v represents the entry in row 1 of the vector used to define the jth Householder matrix. Note that would have length 4 (so entries in positions 2, 3 and 4 are given), and s would have length 3 11 12 T13 V21 22 23 V41 32 V23 51 V42 33
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
