I'm trying to plot a graph from the eigenvalues of a matrix I created. The graph shows with discontinuities in it and I was looking for some feedback.
Here's the code:
v1 = -4.01*Exp[I*(ka)/2];
v2 = -4.01*Exp[-I*(ka)/2];
v3 = -4.01*Exp[I*(ka)];
v4 = -4.01*Exp[-I*(ka)];
Eo = -8.97;
H = {{Eo, v1, 0, 0, 0, v4}, {v2, Eo, v2, 0, v3, 0},
{0, v1, Eo, v4, 0, 0}, {0, 0, v3, Eo, v2, 0}, {0, v4, 0, v1, Eo,
v1}, {v3, 0, 0, 0, v2, Eo}};
MatrixForm[H]
bs = Eigenvalues[H];
Plot[bs, {(ka), -0.8, 0.8}]
I would really appreciate your help.
Comments
Post a Comment