Gaussian Elimination or LU

8 Ansichten (letzte 30 Tage)
M
M am 19 Mär. 2013
Beantwortet: Meysam Mahooti am 29 Nov. 2019
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 ?

Antworten (2)

Shashank Prasanna
Shashank Prasanna am 19 Mär. 2013
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.

Meysam Mahooti
Meysam Mahooti am 29 Nov. 2019

Kategorien

Mehr zu Linear Algebra finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by