Path: news.mathworks.com!not-for-mail
From: "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid>
Newsgroups: comp.soft-sys.matlab
Subject: Re: arrengment of eigenvalu and eigenvector
Date: Tue, 1 Jan 2008 10:26:48 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 24
Message-ID: <fld4h8$7e$1@fred.mathworks.com>
References: <flco7r$ieu$1@fred.mathworks.com> <flcou2$rsg$1@fred.mathworks.com>
Reply-To: "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1199183208 238 172.30.248.35 (1 Jan 2008 10:26:48 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 1 Jan 2008 10:26:48 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1187260
Xref: news.mathworks.com comp.soft-sys.matlab:443939


"feras batah" <ferashaker2001@yahoo.com> wrote in message <flcou2$rsg
$1@fred.mathworks.com>...
> "mustafa alheety" <alheety@yahoo.com> wrote in message 
> <flco7r$ieu$1@fred.mathworks.com>...
> > 
> > happy new year frist. please i want to ask if that 
> > possible in matlab to give my the eigenvalue and eigen 
> > vector arrengement decreasing
> 
> Hello Mustafa 
> also i need this solve and more information for this 
> problem in mat. porgram
> thanks happy new year
------
  The trouble is that eigenvalues can very easily be complex-valued, and then 
how would they be arranged in decreasing order?  That is probably why 
MathWorks' eig function does not atttempt to sort them.

  If you happen to know your eigenvalues are all real-valued, just use the sort 
function to put them in decreasing order.  Of course you would undoubtedly 
want to rearrange the eigenvectors in the same way so as to preserve the 
appropriate pairings of eigenvectors with matching eigenvalues.

Roger Stafford