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

Last one! Which country joined Italy and Japan to form the Axis Powers in World War II? A. Germany B. Sweden C. Switzerland D. Great Britain
how does the polarity affect water molecules
How do u write $1.00 in fraction form?
Which term best describes classical Greek depictions of the human form in sculpture? A. abstract B. exaggerated C. distorted D. lifelike
Which amendment to the U.S Constitution granted women the right to vote? (5 points) 16th Amendment 18th Amendment 19th Amendment 21st Amendment
how does the temperature of water affect the way water moves
The magna carta was the first step toward England's?
Which sentence does not contain any errors in punctuation or capitalization? A. A lifeguard yelled "Slow down!" B. A lifeguard yelled, "Slow down"! C. A lifegua
Factor by grouping. 12x^3−20x^2+3x-5
pam kept track of the puppies available for adoption at the shelter. after 2 hours, there were 10 puppies available for adoption. after 3 hours, there were 8 pu