Can SVD fail?

4 次查看(过去 30 天)
Kevin
Kevin 2018-4-6
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?

采纳的回答

Walter Roberson
Walter Roberson 2018-4-6
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 个评论
Kevin
Kevin 2018-4-6
Hi Walter,
Great. Thanks for the link. I will definitely look at them. I am hoping that I can find an actual matrix that can make MATLAB SVD to fail. If If I find one, I will post the matrix here.
You mentioned "message catalog". How do you get that?
Thanks
Walter Roberson
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 个)

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by