Can SVD fail?
4 次查看(过去 30 天)
显示 更早的评论
SVD promises that any matrix A can be written as A = U*S*V' where U and V are unitary matrices and D is diagonal.
Is it possible for SVD to fail?
0 个评论
采纳的回答
Walter Roberson
2018-4-6
Some SVD implementations can fail to converge; https://arxiv.org/abs/1707.07803 and http://www.stat.umn.edu/macanova/htmlhelp/node332.htm and https://stackoverflow.com/questions/24966691/catching-exception-error-svd-failed-to-converge and https://groups.google.com/forum/#!topic/gensim/pOi60wIs1Nw
It would not surprise me if Mathwork's implementation can fail to converge -- indeed, there is a svd::svdNoConvergence error message in the message catalogs.
2 个评论
Walter Roberson
2018-4-6
The applicable message catalog is
fullfile(matlabroot, '/resources/MATLAB/en/svd.xml')
For example matrices, see the discussion http://community.wolfram.com/groups/-/m/t/1065721 which implies it is a LAPACK / MKL issue and so MATLAB would probably be affected if it is using a release from before the fix.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!