Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: Question about Matlab function eig

Subject: Question about Matlab function eig

From: Tian Lan

Date: 19 Dec, 2007 22:04:30

Message: 1 of 3

The eigen decomposition funcion eig in Matlab is supposed
to return orthonormal vectors. Eg. given matrix A, we have
V'AV=D. ideally, if the eigen vectors are authonormal to
each other, we should have V'V=I, however, if you run the
following command:

clc, A=rand(3,3), [V,D] = eig(A), V'*V,

You'll find this is not always true. The V'*V is not
identity matrix. Also, for an asymmetric matrix A, we
expect to get complex eigen value and eigen vectors. But
if you run above command, you'll see it is not always true
either.

Can anyone explain this?

Subject: Re: Question about Matlab function eig

From: Bruno Luong

Date: 19 Dec, 2007 22:18:58

Message: 2 of 3

"Tian Lan" <lantian@mathworks.com> wrote in message
<fkc4he$g1m$1@fred.mathworks.com>...
> The eigen decomposition funcion eig in Matlab is supposed
> to return orthonormal vectors. Eg. given matrix A, we have
> V'AV=D.

That is not true. Your should reread the doc of eig (and
probably algebra course).

Bruno

Subject: Re: Question about Matlab function eig

From: Roger Stafford

Date: 19 Dec, 2007 22:22:35

Message: 3 of 3

"Tian Lan" <lantian@mathworks.com> wrote in message <fkc4he$g1m
$1@fred.mathworks.com>...
> The eigen decomposition funcion eig in Matlab is supposed
> to return orthonormal vectors. Eg. given matrix A, we have
> V'AV=D. ideally, if the eigen vectors are authonormal to
> each other, we should have V'V=I, however, if you run the
> following command:
>
> clc, A=rand(3,3), [V,D] = eig(A), V'*V,
>
> You'll find this is not always true. The V'*V is not
> identity matrix. Also, for an asymmetric matrix A, we
> expect to get complex eigen value and eigen vectors. But
> if you run above command, you'll see it is not always true
> either.
>
> Can anyone explain this?
--------
  Eigenvectors are not always mutually orthogonal. Only when A is Hermitian
symmetric is that necessarily so. Also it isn't true that asymmetric matrices
give complex eigenvectors and eigenvalues, as you have found out. There
will be complex eigenvalues whenever there are any complex roots to the
characteristic equation, but it is easy for that equation to have only real roots
stemming from an asymmetric matrix.

Roger Stafford

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
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 Disclaimer prior to use.
Related Topics