Find A matrix from Ax = 0
8 views (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 7 May 2023
Edited: Walter Roberson
on 7 May 2023
I am suspecting Diaphontine Equations...
Are the x values all integers?
How large is the matrix?
Answers (1)
Steven Lord
on 7 May 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 Comments
Torsten
on 7 May 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).
See Also
Categories
Find more on Operating on Diagonal Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!