Matlab-code for SVD
Show older comments
Hi there, I am a beginner with matlab. I would like to see the matlab-code for computing the singular value decomposition (standard SVD algorithm) of a matrix. So, could someone tell me how I can get the code, please? If yes, which version of Matlab we can see such the matlab code? Best.
Answers (2)
Andreas Goser
on 27 Apr 2012
1 vote
The exact source code is indeed protected, but based on what I know of the history and origins of MATLAB, you could look up how the singular value decomposition algorthim is in LAPACK and you know how it is done in MATLAB.
1 Comment
Jan
on 28 Apr 2012
The documentation of Matlab 2009a explains, that Lapack's DGESVD is used for real doubles.
Wayne King
on 27 Apr 2012
0 votes
Hi, You cannot see that code. It is a built-in function.
Categories
Find more on Eigenvalues in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!