Get eigenvalues of symbolic matrix
Afficher commentaires plus anciens
I want to get the symbolic eigenvalues from a 8x8 symbolic matrix. But after I used the eig(A) function, Matlab ran for a while and returned a very very very long expression begin with "RootOf{..." which I believed meant no solution. Here is the code.
syms t1 t2 t11 t22 t3 t33 t4 t44;
syms H;
syms kx ky;
a=1.05*pi/180;
v=0.3;
w=0.11;
d=4*pi/(3*2.46);
H=[-v/2 t1 w w w*exp(-i*2*pi/3) w w*exp(i*2*pi/3) w;t11 -v/2 w w w*exp(i*2*pi/3) w*exp(-i*2*pi/3) w*exp(-i*2*pi/3) w*exp(i*2*pi/3);w w v/2 t2 0 0 0 0;w w t22 v/2 0 0 0 0; w*exp(i*2*pi/3) w 0 0 v/2 t3 0 0; w*exp(-i*2*pi/3) w*exp(i*2*pi/3) 0 0 t33 v/2 0 0; w*exp(-i*2*pi/3) w 0 0 0 0 v/2 t4; w*exp(i*2*pi/3) w*exp(-i*2*pi/3) 0 0 0 0 t44 v/2 ];
dd=eig(H);
Can anyone give me a hint the way to calculate the symbolic eigenvalues of the matrix "H"? And how long will it take? My ultimate goal is to plot the 8 eigenvalues in the range of kx=[-1:0.1:1] and ky=[-1:0.1:]. Thanks very much.
Réponse acceptée
Plus de réponses (1)
Ayesha Idrees
le 14 Juin 2022
0 votes

2 commentaires
Ayesha Idrees
le 14 Juin 2022
Find eigen values of this jacobian matrix?
Walter Roberson
le 15 Juin 2022
To be honest, I am not going to bother typing that matrix in.
Catégories
En savoir plus sur Code Performance dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!