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

Aristotle built his ideas on Intuition Faith Logic Emotion
Describe the two types of large structures created by the Egyptian architects.
Phenolphthalein solution is used as an indicator of acids and bases. If added to an ammonia-based solution of window cleaner, we would expect the solution to tu
This is a diagram which shows the evolutionary relationship among group of organism
The "Dust Bowl" was an environmental situation associated with what event?
What is the iqr for the data set 5,6,7,3,9,8,,3,1,6,7,7
Plz plz plz help due in tommorw!!!!$
Please help me I need this by today! It is about mean, median, and mode.
Need a sentence containing these three words governor, is, and frightening
Choose all that apply. Select all the laws and regulations that protect your bank account. Truth in Savings Act Electronic Fund Transfer Act Equal Credit Oppo