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 件)

Matt J
Matt J 2020 年 11 月 11 日
編集済み: Matt J 2020 年 11 月 11 日

0 投票

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
A = 3×3
2 0 0 0 2 0 0 0 0
b=[6;4;2]
b = 3×1
6 4 2
pinv(A)*b %minimum norm solution
ans = 3×1
3 2 0

カテゴリ

ヘルプ センター および File ExchangeSpecial Functions についてさらに検索

質問済み:

2012 年 2 月 1 日

編集済み:

2020 年 11 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by