필터 지우기
필터 지우기

How can I solve 16x16 matrix? It is specifically required to solve Ax=b matrix.

조회 수: 6 (최근 30일)
Maidul Islam
Maidul Islam 2016년 4월 22일
댓글: Maidul Islam 2016년 4월 22일
Here I am giving my code
A = [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
0 1 2 3 4 5 6 7 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 1 2 3 4 5 6 7
0 0 2 6 12 20 30 42 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 2 6 12 20 30 42
0 0 0 6 24 60 120 210 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 6 24 60 120 210
0 0 0 0 24 120 360 840 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 24 120 360 840
0 1 2 3 4 5 6 7 0 -1 -2 -3 -4 -5 -6 -7
0 0 2 6 12 20 30 42 0 0 -2 -6 -12 -20 -30 -42
0 0 0 6 24 60 120 210 0 0 0 -6 -24 -60 -120 -210
0 0 0 0 24 120 360 840 0 0 0 0 -24 -120 -360 -840]
b= [0
1
1
2
0
0
0
0
0
0
0
0
0
0
0
0]
x = [
a10
a11
a12
a13
a14
a15
a16
a17
a20
a21
a22
a23
a24
a25
a26
a27]
So, how can I solve it?

답변 (1개)

Walter Roberson
Walter Roberson 2016년 4월 22일
Your fourth row is the same as the third. The third row is 1 minus the second.
rank(A) is only 11 (out of possible 16). You cannot use the normal technique which would be
x = A\b;
There is no unique solution.
One of the non-unique solutions is
x = pinv(A) * b;

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by