a matrix equation problem

Could you please help me to write this equation code
I have two matrix A, B. These matrices are square matrix 4*4,6*6 or etc and known. My equation is det(A-B*x^2)=0 How will I find x values

1 件のコメント

Walter Roberson
Walter Roberson 2011 年 11 月 30 日
Is x a scalar or a matrix?

回答 (1 件)

Teja Muppirala
Teja Muppirala 2011 年 11 月 30 日

0 投票

If B is invertible:
x = sqrt(eig(B\A))
Reason: det(A-B*x^2) = 0
implies that
det(B\A-I*x^2) = 0
If B is not invertible, this won't work.

この質問は閉じられています。

質問済み:

2011 年 11 月 30 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by