33.1: Matrix Decomposition
( \newcommand{\kernel}{\mathrm{null}\,}\)
Watch the following video and answer the questions below.
Consider the following code to calculate the A=QΛQ−1 eivendecomposition.
Using code, verify that A2 is the same as A.
Turn the above code into a function called eigendecomp
which takes in a matrix A and returns Q and L.
What other decompositions have we covered in the class so far? Make a list and write down a short description on why we use each decomposition.