Schur decomposition and QR algorithm for eigenvalue problems
17 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I created a 5x5 complex matrix with one real eigenvalue and two complex conjugate eigenvalue pairs by this piece of code:
N=5;
A=zeros(5);
A(1,1)=3;
A(2,2)=1+sqrt(-1);
A(3,3)=1-sqrt(-1);
A(4,4)=2+sqrt(-1);
A(5,5)=2-sqrt(-1);
V=rand(N);
A=V*A*inv(V)
I then used [U T]=schur(A) to get a strictly upper triangular matrix T with all 5 eigenvalues (the two conjugate pairs as well as the real eigenvalue) on its diagonal. I then used the QR algorithm trying to convert A into an upper triangular matrix: [Q R]=qr(A); A=R*Q. The iteration converges to a block (quasi) upper triangular matrix with two 2x2 blocks as well as the real eigenvalue along the diagonal. The eigenvalues of the two 2x2 blocks are of course the two conjugate eigenvalue pairs of A. However, the QR algorithm can never produce a strictly upper triangular matrix as the Schur function did. My question is, how does the Schur algorithm in Matlab generate the triangular matrix? The Schur decomposition theorem (e.g., https://en.wikipedia.org/wiki/Schur_decomposition) only states such a upper triangular matrix exists, but it does not provide any specific algorithm for actually generating this matrix. What algorithm does the Matlab function schur use?
0 Kommentare
Antworten (1)
Cam Salzberger
am 29 Feb. 2016
Hello Ruye,
I understand that you are wondering how MATLAB could produce an upper-triangular matrix with Schur decomposition, but not with QR decomposition. This is understandable, given QR decomposition is commonly used to help calculate the Schur decomposition.
I believe that a good place to start looking at Schur algorithms is in the LAPACK user guide . There is a section on Schur Factorization which overviews a method that can be used to compute the decomposition.
I hope this helps.
-Cam
Siehe auch
Kategorien
Mehr zu Matrix Computations 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!