Find A matrix from Ax = 0

5 Ansichten (letzte 30 Tage)
Arjun M
Arjun M am 7 Mai 2023
Kommentiert: Torsten am 7 Mai 2023
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 Kommentare
Walter Roberson
Walter Roberson am 7 Mai 2023
Bearbeitet: Walter Roberson am 7 Mai 2023
I am suspecting Diaphontine Equations...
Are the x values all integers?
How large is the matrix?
Arjun M
Arjun M am 7 Mai 2023
All x values are not integers. x is a 36x1 matrix, A is a 70x36 matrtix.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Steven Lord
Steven Lord am 7 Mai 2023
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 Kommentare
Arjun M
Arjun M am 7 Mai 2023
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 am 7 Mai 2023
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).

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Creating and Concatenating Matrices 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