How to calculate the value of the vector A in equation AXA' = b?
3 ビュー (過去 30 日間)
古いコメントを表示
If I have
A*X*A' = b;
where:
A is a (1x2) unknown vector whose elements must be integers
A' is the transpose of A,
X is a (2x2) diagonal matrix (given)
b is a given scaler value.
How can I calculate the value of vector A?
0 件のコメント
採用された回答
KSSV
2020 年 11 月 25 日
編集済み: KSSV
2020 年 11 月 25 日
syms x y
A = [x y] ;
X = rand(2) ;
b = rand ;
eqn1 = A*X*X'- b ==0
s = solve(eqn1,x,y) ;
x = double(s.x)
y = double(s.y)
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!