Discrepancy between eigenvalues and eigenvectors derived from analytical solution and matlab code.
Mostrar comentarios más antiguos
Hello,
I have this matrix [ep+V/2 t*phi; t*conj(phi) eb-V/2].
The analytical solution for eigenvalues of this matrix is E=(eb+ep)/2+v*sqrt((eb-ep+V)/2+t^2*|phi|^2).
But matlab solution is different from this.
Can someone help me for solve this chalenge?
2 comentarios
KSSV
el 23 de Jul. de 2021
Show us the code which you tried.
mohammad mortezaie
el 23 de Jul. de 2021
Respuesta aceptada
Más respuestas (1)
syms eb ep t V phi
H=[ep+V/2 t*phi; t*conj(phi) eb+V/2]
[E,v]=eig(H)
Let's check if the elements in E and v satisfy the definition of the eigenvectors and eigenvalues for H.
simplify(H*E-E*v)
The elements in E and v satisfy the definition of the eigenvectors and eigenvalues for H, so they are eigenvectors and eigenvalues of H. What did you say you expected the eigenvalues to be?
1 comentario
mohammad mortezaie
el 26 de Jul. de 2021
Categorías
Más información sobre Linear Algebra en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!





