From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Eigenvectors with Identical Eigenvalues Lose orthogonality?
Date: Fri, 6 Aug 2010 16:54:04 +0000 (UTC)
Organization: Xoran Technologies
Lines: 7
Message-ID: <i3henc$f11$>
References: <i3hcrc$g9o$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1281113644 15393 (6 Aug 2010 16:54:04 GMT)
NNTP-Posting-Date: Fri, 6 Aug 2010 16:54:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440443
Xref: comp.soft-sys.matlab:659807

"NIcholas " <> wrote in message <i3hcrc$g9o$>...
> Shouldn't the command "[V,D] = eig(A);" give an orthogonal basis V?

If A is not Hermitian, it might not even have a fulll set of linear independent eigenvectors, making it impossible for eig() to produce an orthogonal basis.

In your example, A is Hermitian, but since eig doesn't know this in advance, it has no reason to try to orthogonalize the result.