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 impact did Enlightenment ideas have on the colonists?
What are some really, really good chill vibes songs? I want some but when I search it up, it always gives me.........unacceptable stuff.
Identify the limiting reactant in the reaction of methane (CH4) and carbon tetrachloride to form CH2Cl2, if 2.96 g of CH4 and 32.0 g of CCl4 are combined. Deter
An orbiting meteor has a mass of 5,123,788 g. What is the mass of the meteor in kg? Round your answer to two decimal places. There are 1000 g in one kg,
Suppose at the base of a hill a sign reads “Elevation 3500 Feet.” The road goes straight up the hill to the top, which is 3 horizontal miles from the base. At t
Anyone please help me please I will give points please
3x+2>5x-8 Can some one help me with this problem
HELP SHOW HOW TO SOLVE THIS PLEASE write an equation of the line that has slope 3 and goes through the point (4, 1)
Solve each euqation. 1.) 6w-33=3(4w-5) 2.) 6(x+5)-3x 3.) q+1/2=q-1/3
ang itinuring na diyosa ng kagandahan.​