On Tue 10 May 2005, maziyar wrote:
> I have tried using:
>
> vnl_symmetric_eigensystem<double> eig(cov(data.transpose()));
> vcl_cerr << eig.V << vcl_endl;
> vcl_cerr << eig.D << vcl_endl;
>
> to find the eigenvalues and the eigenvectors for a covariance matrix. When
> comparing my results to those of Matlab, I am producing similiar eigenvalues,
> however, my eigenvectors are not the same.
>
> Is this an expected result due to the different algorithms used by the two
> systems, or should they yield the same result.
In general, Matlab algorithms are not the same as those used in vxl,
so the results could be different.
If the results from vxl actually are eigenvectors, then I don't see a
problem. If they aren't, well, something needs to be done.
Amitha.
