フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

incorrect result in solving system using MATLAB ?

1 回表示 (過去 30 日間)
Eliza
Eliza 2017 年 11 月 14 日
閉鎖済み: Walter Roberson 2017 年 11 月 14 日
Iam trynig to solve the following system (mat=coefficient matrix,B=output matrix)
mat =
1 2 6
2 5 14
5 7 24
B=
0
0
0
the expected result is not zeros for sure because this system is linear dependent . And I used mat/B and linsolve(mat,B). However , I have got the answer
ans=
0
0
0
and this warning
Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND =
1.009294e-18.
could any one help me why I got this result and what I should to get the correct answer?
  1 件のコメント
Walter Roberson
Walter Roberson 2017 年 11 月 14 日
Duplicated by later https://www.mathworks.com/matlabcentral/answers/367058-incorrect-result-in-solving-system-using-matlab which has an answer

回答 (0 件)

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by