Find A matrix from Ax = 0

조회 수: 5 (최근 30일)
Arjun M
Arjun M 2023년 5월 7일
댓글: Torsten 2023년 5월 7일
I have all the x values. The A matrix is composed of only 1,0 and -1. Can A matrix be found if it is known Ax = 0? I know I'm almost sure A is a unique matrix for this specific case.
  댓글 수: 2
Walter Roberson
Walter Roberson 2023년 5월 7일
편집: Walter Roberson 2023년 5월 7일
I am suspecting Diaphontine Equations...
Are the x values all integers?
How large is the matrix?
Arjun M
Arjun M 2023년 5월 7일
All x values are not integers. x is a 36x1 matrix, A is a 70x36 matrtix.

댓글을 달려면 로그인하십시오.

답변 (1개)

Steven Lord
Steven Lord 2023년 5월 7일
Assuming 0 is an appropriately sized vector each element of which is 0, sure. One possibility for A is the appropriately sized all 0 matrix created using the zeros function.
  댓글 수: 2
Arjun M
Arjun M 2023년 5월 7일
Yeah right hand side is an appropriately sized vector, but A needs to not be a matrix with just zero. It has 1,0 and -1. Can I solve x*A = b, everything appropriately sized, using linsolve or something?
Torsten
Torsten 2023년 5월 7일
No, for b = 0 you'll always get A = 0 unless you have constraints on A (e.g. row or column sums equal 1 or -1 or something similar).

댓글을 달려면 로그인하십시오.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by