Matlab code

broken image
broken image
broken image

You are allowed to use the built-in MATLAB function 'eig' to find out eigenvalues and eigenvectors of A ⋅ A T or A T ⋅ A. b) The input of your function should be a matrix, and the outputs of your function should consist of U, S and V matrices. a) Do not use 'svd' as the name of your function since it has been used as a builtin function in MATLAB. Develop your own user defined function with appropriate inputs and outputs. Do a hand calculation before you start coding 2. A 1 = U 1 ⋅ S 1 ⋅ V 1 T A 2 = U 2 ⋅ S 2 ⋅ V 2 T ​ Requirements and Notes: 1. your results should satisfy the following equation. Note: Make sure you have MATLAB installed on your laptop/computer (a student license is free to all of you, please download and install it in advance if you do not currently have one installed) Topic: Develop your own MATLAB code to perform SVD Given: A 1 = ( 80/100 ) A 2 = ( 20/100 ) ​ Please develop your MATLAB code to perform SVD over the matrix A, to decompose A into three matrices U, S and V.

broken image