eigenvalues - determining the three major eigenvalues from a matrix
3 ビュー (過去 30 日間)
古いコメントを表示
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?
0 件のコメント
採用された回答
Muthu Annamalai
2013 年 7 月 10 日
Take a look at the >> doc eigs >> doc eig as @Jan Simon has suggested.
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
0 件のコメント
その他の回答 (2 件)
Jan
2013 年 7 月 10 日
Is your matrix large and sparse, then use eigs. Otherwise eig is sufficient. Both are builtin functions.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!