eigenvalues - determining the three major eigenvalues from a matrix

Is there a code or program I can download which will determine the three main eigenvalues,; t1 t2 and t3 of a matrix as I really am not sure how to go about this?

 채택된 답변

Take a look at the >> doc eigs >> doc eig as @Jan Simon has suggested.
For example with eigs
So if A is your matrix and you want the first 3 eigenvalue-vector pairs, you just use,
>> [v,d] = eigs(A,3)
>> d = diag(d)
should solve your problem explicitly

추가 답변 (2개)

Jan
Jan 2013년 7월 10일

0 개 추천

Is your matrix large and sparse, then use eigs. Otherwise eig is sufficient. Both are builtin functions.
Bran
Bran 2013년 7월 10일

0 개 추천

Well I actually would like to work out the principal Eigen vector for a ODF which is in the form of a vector but I'm not really sure how to go about that. would something like princomp be suitable?

카테고리

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

질문:

2013년 7월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by