Find A matrix from Ax = 0

4 次查看(过去 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 中查找有关 Operating on Diagonal Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by