Problem 3072. Singular Value Decomposition
Calculate the three matrices of the singular value decomposition (A = U*S*V^T) for each provided matrix. U and V are square unitary matrices (V^T = the transpose of V) and S contains the singular values along the diagonal.
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
goc3
on 29 Sep 2020
Thanks for pointing that out, @Rafael S.T. Vieira. Test case 3 has been fixed.
Lincoln Poon
on 26 Jun 2021
The error was fixed in Test Case 3, but the errors seemed to still be there for the randomised cases which contains Test 3.
goc3
on 1 Jul 2021
The other errors in the test suite mentioned by Lincoln Poon have been fixed.
Solution Comments
Show commentsProblem Recent Solvers33
Suggested Problems
-
1406 Solvers
-
Replace multiples of 5 with NaN
449 Solvers
-
Who is the smartest MATLAB programmer?
763 Solvers
-
184 Solvers
-
Add a row of zeros on top of a matrix
254 Solvers
More from this Author139
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!