Right and Left Eigenvectors
Ältere Kommentare anzeigen
Dear Users,
What I read about right and left eigenvectors from some literature is that right ones should be column and left ones should be row matrices. However, when I use the standard commands ([V,D,W]=eig(A)) to see right(V), diagonal(D) and left(W) vectors of e.g 3x3 square matrix, I get 3x3 V and W matrices. Can you tell me where I do a mistake? Thanks!
3 Kommentare
Steven Lord
am 27 Jun. 2018
What relationship needs to hold between the left eigenvectors, the eigenvalues, and the original matrix? From the documentation: "[V,D,W] = eig(A) also returns full matrix W whose columns are the corresponding left eigenvectors, so that W'*A = D*W'." The columns of W are the left eigenvectors, not the rows.
>> W'*A-diag(Lambda)*W'
ans =
1.0e-15 *
0 0 -0.2220
0 0 0
0 0 0
Let's check with just one column of W, to more closely match your code.
>> w1c = W(:, 1);
>> w1c'*A - e1*w1c'
ans =
1.0e-15 *
0 0 0.2220
Those each look pretty good to me.
Rengin
am 27 Jun. 2018
Antworten (2)
Juan Fernandez
am 25 Jun. 2018
2 Stimmen
You did not make a mistake. Each column of V is a right eigenvector of A. Each row of W is a left eigenvector of A.
1 Kommentar
Rengin
am 27 Jun. 2018
Christine Tobler
am 25 Jun. 2018
0 Stimmen
The matrices V and W contain all eigenvectors of A. For example
V(:, 1) and D(1, 1) are the right eigenvector and eigenvalue of A, A*V(:, 1) == V(:, 1)*D(1, 1)
W(:, 1) and D(1, 1) are the left eigenvector and eigenvalue of A, W(:, 1)'*A == D(1, 1)*W(:, 1)'
1 Kommentar
Rengin
am 27 Jun. 2018
Kategorien
Mehr zu Linear Algebra finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!