필터 지우기
필터 지우기

How can I use "eig" in symbolic variables?

조회 수: 3 (최근 30일)
masoud jiryaei
masoud jiryaei 2019년 9월 4일
댓글: Mario C 2022년 6월 14일
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일
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일
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개)

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by