Write MATLAB code to do image compression on an image of yourchoice. Details are below. Please add comments so I can understandhow to do it.
Problem 2. (Image compression) (50 points) Consider an image of your choice. Upload the image in Matlab using the instructions as in the slides. (a). Compute the SVD of the matrix associated with the image (let us call such a matrix A), and plot the value of the approximation metric ηk defined in
OR
OR