Question: Submit your m-file and a diary that shows how you tested the code. Use the algorithm for Gram-Schmidt that was covered in lab and not
Submit your m-file and a diary that shows how you tested the code. Use the algorithm for Gram-Schmidt that was covered in lab and not the algorithm that is written in the book.
Write an m-file grams.m to perform the Gram-Schmidt process on the columns of a matrix A with an arbitrary number of columns (the input) and return a matrix Q whose columns are the resulting vectors. Test your code on the following matrix.


Submit your m-file and a diary that shows how you tested the code. Use the algo- rithm for Gram-Schmidt that was covered in lab and not the algorithm that is written in the book Write an m-file grams.m to perform the Gram-Schmidt process on the columns of a matrix A with an arbitrary number of columns (the input) and return a matrix Q whose columns are the resulting vectors. Test your code on the following matrix: 1-1 71 0 6-3 3 A- -9 6 0-1 Check that your answer is orthonormal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
