Filter löschen
Filter löschen

Having the eigenvalue of my matrix (Hamiltonian), how can I get the eigenvector associated with it?

5 Ansichten (letzte 30 Tage)
Hello, I have a given eigenvalue (energy) of my matrix (Hamiltonian), which is known. Now I want to obtain the eigenvector associated with it? Is there any function similar to eig to do so? Thanks in advance.

Akzeptierte Antwort

Matt J
Matt J am 13 Jun. 2017
V=null(A-eigenvalue*eye(size(A))
  2 Kommentare
John D'Errico
John D'Errico am 13 Jun. 2017
A virtue of this solution is that if the eigenvalue has multiplicity greater than 1, then V will contain all the eigenvectors associated with that eigenvalue.
A = ones(3);
A has one eigenvalue of 3, but 0 is an eigenvalue, with multiplicity 2.
null(A-3*eye(size(A)))
ans =
-0.57735
-0.57735
-0.57735
null(A-0*eye(size(A)))
ans =
0 0.8165
-0.70711 -0.40825
0.70711 -0.40825

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Linear Algebra finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by