Gaussian Elimination or LU
6 ビュー (過去 30 日間)
古いコメントを表示
How can i solve this problem?
A=[-1 1 0 0;1 -2 1 0;0 1 -2 1;0 0 1 -1]
and B=[10; 0; 0; -10]
Ax=B
Whats x ?
0 件のコメント
回答 (2 件)
Shashank Prasanna
2013 年 3 月 19 日
determinant of A is zero, there can be infinite solutions.
One of the infinitely many solutions is the following:
x = pinv(A)*B
of course
x + c*null(A)
for any c are all solutions of the above system.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!