Question: Exercise 5. Write a MATLAB function qr4LASTNAME.m which takes as input four linearly independent 4-dimensional column vectors, and outputs the orthogonal matrix Q and upper

Exercise 5. Write a MATLAB function qr4LASTNAME.m which takes as input four linearly independent 4-dimensional column vectors, and outputs the orthogonal matrix Q and upper triangular matrix R that we get from the Gram-Schmidt method. You can assume that the input vectors are linearly independent. Make sure to test your code with exercise 3 and verify that you have the correct outputs. Exercise 5. Write a MATLAB function qr4LASTNAME.m which takes as input four linearly independent 4-dimensional column vectors, and outputs the orthogonal matrix Q and upper triangular matrix R that we get from the Gram-Schmidt method. You can assume that the input vectors are linearly independent. Make sure to test your code with exercise 3 and verify that you have the correct outputs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
