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

a boy is 10 m whereas a girl is 9 m less,wat is the height of the girl?
WHY WOULD I HAVE BURNING AND PAIN ON THE INNER SIDE OF MY KNEE AND UP THE FRONT OF MY THIEGH
what is the algebraic expression of the sum of a number and ten
what comes to mind when you hear the term natural disasters?
Constantinople's name was changed to TehranBaghdadIstanbulByzantine after the Ottomans defeated it in 1453
what is the longest word you mcan spell on the top row of a qwerty keyboard
Translate the following words to algebra symbols, using "n" as the variable. The product of six and a number is 24.
Use the following test scores. Find the mean, median score, mode, and spread. Round to the nearest whole number. 100 96 58 95 60 95 69 88 71 95 85 93 91 78 78 8
how do you write this in french 'cheryl cole danses and listens to music on saturday.'
How did Samuel morse's best-known invention contributed to U.S. growth and development