how to solve singular matrix
古いコメントを表示
i have a problem on singular matrix how to solve it please answer me there any method to solve it
回答 (2 件)
Fattah alizadeh
2012 年 5 月 30 日
1 投票
It depends on the type of solution you are looking for. You can obtain the minimum norm solution using pinv, e.g.,
A=[2 0 0; 0 2 0; 0 0 0] %Clearly singular
b=[6;4;2]
pinv(A)*b %minimum norm solution
カテゴリ
ヘルプ センター および File Exchange で Special Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!