1.0

1.0 | 2 ratings Rate this file 45 downloads (last 30 days) File Size: 470 Bytes File ID: #13813

Determination of the Eigenvalues using the QR-Decomposition

by Housam Binous

 

31 Jan 2007 (Updated 31 Jan 2007)

No BSD License  

computes eigenvalues using QR decomposition

Download Now | Watch this File

File Information
Description

We use the QR-decomposition to obtain the eigenvalues of a matrix. The method is iterative and builds an upper-triangular matrix. The eigenvalues appear as the diagonal terms of this upper-triangular matrix. These values are found to be in agreement with those given by the Matlab built-in function: eig. A similar program using Mathematica is available at the following link:
http://library.wolfram.com/infocenter/MathSource/6612/

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
11 Feb 2008 Duane Hanselman

Here is what is in the script M-file:
A=[2., 3, 4, 5; 4, 2., 5, 6; 5, 7, 2., 7; 6, 8, 10, 2.];
M=A
for i=1:100;
    [Q,R] = qr(M);
    M=R*Q;
end
M
eig(A)

17 Apr 2008 Jackie Li

If the matrix is near sigular or sigular, does your code work right? Thanks.

20 Sep 2009 Nikolay  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
linear algebra Housam Binous 22 Oct 2008 08:58:49
qrdecomposition Housam Binous 22 Oct 2008 08:58:49
uppertriangular matrix Housam Binous 22 Oct 2008 08:58:49
iterative Housam Binous 22 Oct 2008 08:58:49
eigenvalues Housam Binous 22 Oct 2008 08:58:49
qrdecomposition Deng bupt 09 Jan 2009 09:32:39
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com