roberttetreault4301 roberttetreault4301
  • 17-06-2021
  • Mathematics
contestada

Use the svd() function in MATLAB to compute , the rank-1 approximation of . Clearly state what is, rounded to 4 decimal places. Also, compute the root mean square error (RMSE) between and .

Respuesta :

tallinn tallinn
  • 21-06-2021

Answer:

Here is the Matlab code.

Step-by-step explanation:

Matlab Code:

[tex]A = [1 2 2;3 4 5;6 7 8]\\[U,S,V] = svd(A)u1 = U(:,1)\\u2 = U(:,2)\\u3 = U(:,3)\\d1 = dot(u1,u2)\\c = cross(u1,u2)\\d2 = dot(c,u3)[/tex]

[tex]d1 =- 5.5511e-17\\c = -0.7172 0.6643 -0.2103\\d2 = 1[/tex]  

Yes, since c = cross(u1,u2) is orthogonal to both u1 and u2. Hence is u3, thus the dot product with u3 is 1.

Answer Link

Otras preguntas

What event caused the establishment of the United States department of homeland security
2.3, 2 4/5, 2.6 least to greatest
1029566537446 times 07746874754643455355
Complete the sentence with the correct form of the verb gustar and the indirect object pronoun (me, te, le, etc). A mí __________ __________ estudiar mucho en
Pioneer species survive by living on rocks and minerals true of false
Use mental math to find the sum show your strategy 122+306
Acrostic poem for the word Artifct?!?
a number increased by 4 is the same as 19 minus 2 times the number
Why does erosion always lead to deposition?
What increased industrial efficiency