Generalised eigen system - Extracting eigen values and eigen vectors from given matrices

Hi,
I am working on parametric model fitting (ellipse fitting) using direct least squares method. I have two matrices namely, a design scatter matrix A and a constraint matrix B with which I need to find the Ellipse parameters. I am aware that matlab function 'eig' gives me the results in terms of eigen values and eigen vectors which can be further processed to actual results.
I am keen to learn the way in which matlab function 'eig' works mathematically. Any links to relevant sources will be helpful too. I like to learn the actual mathematical approach in eig function design as I shall have to code this methodology into managed C++.
Please share your knowledge on how to re-write 'eig' function.
Regards,
Bhaskar

 채택된 답변

Andrew Newell
Andrew Newell 2011년 6월 13일
It would be a waste of time to write your own code for this when there are robust packages available for free. See Template Numerical Toolkit.
However, if you want to understand the numerical methods for finding eigenvalues, I would recommend Golub, Gene H.; Van Loan, Charles F. (1996), Matrix Computations.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Linear Algebra에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by