Gaussian Elimination or LU

조회 수: 7 (최근 30일)
M
M 2013년 3월 19일
답변: Meysam Mahooti 2019년 11월 29일
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 ?

답변 (2개)

Shashank Prasanna
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.

Meysam Mahooti
Meysam Mahooti 2019년 11월 29일

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by