[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eigenvectors
From: |
Daniel Heiserer |
Subject: |
Re: eigenvectors |
Date: |
Mon, 14 Jun 1999 10:46:31 +0200 |
address@hidden wrote:
>
> This may be a dumb question, forgive me, it's been too long.
>
> I have a real, square matrix Q and I need to factorize it as
>
> Q = inv(X)*D*X
>
> where D is diagonal. I think that this means that D contains the
> eigenvalues and X contains the eigenvectors of Q. Is that right? How do
> I get D and X from octave. The function svd gives the "right and left"
> eigenvectors for any matrix. I thought that for square matrices this
> would mean that it would return X but I was wrong.
>
> Sheepishly,
> Heber
>
[X,D]=eig(Q);
--
Mit freundlichen Gruessen
Daniel Heiserer
-----
--------------------------------------------------------------
Dipl.-Phys. Daniel Heiserer, BMW AG, Knorrstrasse 147, 80788 Muenchen
Abteilung EK-20
Tel.: 089-382-21187, Fax.: 089-382-42820
mailto:address@hidden
---------------------------------------------------------------------
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
---------------------------------------------------------------------