2. Assume you want solve AX = b, where the column coefficient matrix are independent as shown below:
1 2
(a) Use Gram-Schmidt method to find the orthogonal column vectors of A
(b) Use the orthogonal vectors to solve AX = b, where b = [1, 2,3]' (c) Use Gram-Schmidt method to find the orthonormal vector Q and upper triangular matrix R such that A = QR
(d) Write a Matlab function to decompose a matrix A in to QR. (e) Use the power method to find the largest eigen value and its corresponding eigen vector. (f) Write Matlab function to find the largest eigen value and its corresponding eigen vector for any matrix A.