MATLAB Answers

0

How can I use "eig" in symbolic variables?

Asked by masoud jiryaei on 4 Sep 2019
Latest activity Commented on by KSSV
on 4 Sep 2019
Accepted Answer by KSSV
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.

  0 Comments

Sign in to comment.

Tags

1 Answer

Answer by KSSV
on 4 Sep 2019
Edited by KSSV
on 4 Sep 2019
 Accepted Answer

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)

  2 Comments

KSSV
on 4 Sep 2019
masoud jiryaei commented:
"L" is "Omega"?
KSSV
on 4 Sep 2019
Yes..modified the answer check.

Sign in to comment.