help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eigenvectors


From: heberf
Subject: Re: eigenvectors
Date: Wed, 9 Jun 1999 15:44:31 -0500 (CDT)

Ahh, I'd forgotten about the eig function.  I was looking in the help
under matrix factorizations and eig wasn't listed.  It's under basic
matrix functions.

Thanks,

On Wed, 9 Jun 1999, Nimrod Mesika wrote:

> address@hidden wrote:
> > 
> >         Q = inv(X)*D*X
> > 
> use   [X,D] = eig(Q);
> 
> D is a diagonal matrix (the elements are the eigenvalues of Q: lambda1,
> lambda2, etc..).
> X is a matrix of eigenvectors.
> 
> Actually, since octave returns X as a unitary matrix (a matrix for which
> inv(A)=A') you also have the simpler expression:
> 
> Q = X' * D * X;
> 
> -- Nimrod.
> 




---------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.  To ensure
that development continues, see www.che.wisc.edu/octave/giftform.html
Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html
---------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]