Get eigenvalues of symbolic matrix
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (1)
Ayesha Idrees
am 14 Jun. 2022
0 Stimmen

2 Kommentare
Ayesha Idrees
am 14 Jun. 2022
Find eigen values of this jacobian matrix?
Walter Roberson
am 15 Jun. 2022
To be honest, I am not going to bother typing that matrix in.
Kategorien
Mehr zu Code Performance finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!