I want to get the symbolic eigenvalues from a 8×8 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.
Best Answer