how to random initialize svd function in matlab??
Mostrar comentarios más antiguos
i want the svd function in matlab to give me two different values for the same matrix , i mean the U and V , currently im getting the same everytime i run
Respuesta aceptada
Más respuestas (1)
KALYAN ACHARJYA
el 5 de Mzo. de 2020
data_test=magic(3);
[U,S,V]=svd(data_test)
Result
U =
-0.5774 0.7071 0.4082
-0.5774 0.0000 -0.8165
-0.5774 -0.7071 0.4082
S =
15.0000 0 0
0 6.9282 0
0 0 3.4641
V =
-0.5774 0.4082 0.7071
-0.5774 -0.8165 -0.0000
-0.5774 0.4082 -0.7071
>>
1 comentario
Fethi Bencherki
el 5 de Mzo. de 2020
Editada: Fethi Bencherki
el 5 de Mzo. de 2020
Categorías
Más información sobre Linear Algebra en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!