solve Ax=b by singular value decomposition

After I've got U,S,V by [U,S,V] = svd(A), how do I get x?
Is it x = (V*(S^(-1)*U')*b?

3 件のコメント

David Goodmanson
David Goodmanson 2022 年 11 月 16 日
Hi Jiapeng, why not run a test case and see what happens?
Steven Lord
Steven Lord 2022 年 11 月 16 日
Is there a particular reason you're using svd rather than simply using the \ operator?
Torsten
Torsten 2022 年 11 月 16 日
Is it x = (V*(S^(-1)*U')*b?
No, only if S has all singular values not equal to 0.
Compare
Section
Algorithms
at the bottom of the web page.

回答 (0 件)

この質問は閉じられています。

タグ

質問済み:

2022 年 11 月 16 日

閉鎖済み:

2022 年 11 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by