How can I use "eig" in symbolic variables?

How can I use "eig" in symbolic variables?
I have this Equation : [A]*{x}=(omega)^2*[B]*{x}
which A=[2a+3b ,2b+3a ; a+b,a-b] And B=[5a+8b, b^2+5 ; a-5b,2b+3a]
and want to use "eig" for it.

 採用された回答

KSSV
KSSV 2019 年 9 月 4 日
編集済み: KSSV 2019 年 9 月 4 日

0 投票

syms a b l
A=[2*a+3*b ,2*b+3*a ; a+b,a-b] ;
B=[5*a+8*b, b^2+5 ; a-5*b,2*b+3*a] ;
C = A-l^2*B ;
eqn= det(C)==0 ;
iwant = solve(eqn,l)

3 件のコメント

KSSV
KSSV 2019 年 9 月 4 日
masoud jiryaei commented:
"L" is "Omega"?
KSSV
KSSV 2019 年 9 月 4 日
Yes..modified the answer check.
Mario C
Mario C 2022 年 6 月 14 日
Why is it necessary to put a 1 in the last line?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSymbolic Math Toolbox についてさらに検索

タグ

質問済み:

2019 年 9 月 4 日

コメント済み:

2022 年 6 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by