I have a symbolic 6x6 matrics that I must find eigenvalues and plot them. I can't plot and I don't know what can I do.
syms t H t1 t2 E1 E2 E3 E4 E5 E6 HH H1 v d H2 k a E;
t1=1;
t2=1.5*t1;
a=3;
H=[0 t2 0 0 0 t1
t2 0 t1 0 0 0
0 t1 0 t2 0 0
0 0 t2 0 t1 0
0 0 0 t1 0 t2
t1 0 0 0 t2 0];
H1=[0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
t1*exp(1i*k*a) 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0];
H2=[0 0 0 t1*exp(1i*k*a) 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0];
HH=H+H1+H2;
E=eig (HH)
I can't run the
[v,D]=eig(HH)
and I don't kno how to plot 6 different E(K) function
sorry for poor english and ppor knowledge of matlab and thanks for help!