Matrix decompositions, such as spectral decomposition and the singular value
decomposition (SVD), are essential tools in linear algebra and numerical analysis with
broad applications in engineering.
(a) Find a spectral decomposition of following matrices:
[[1,2,2],[2,1,2],[2,2,1]],[[2i,0,0],[0,1+i,-1+i],[0,-1+i,1+i]]
(b) Research and study the singular value decomposition (SVD), then compute the
singular value decomposition of following matrices:
[[2,2,-2],[-4,-1,4],[-4,2,4]],[[1,1,1,1],[2,2,-2,-2],[3,-3,3,-3]]