what algorithm does EIG() MATLAB function use ?
古いコメントを表示
Hi,
I would like to know which algorithms doses the built-in function EIG uses to compute the eigenvalues of a real symmetric definite positive matrix. I tried >>edit eig to get the script but i couldn't.
Thanks
4 件のコメント
Steven Lord
2016 年 4 月 28 日
The eig function is built into MATLAB and we don't distribute its source code.
Can you say a little more about why you want to know what algorithm eig uses?
salah eddine
2016 年 5 月 26 日
John D'Errico
2016 年 5 月 26 日
編集済み: John D'Errico
2016 年 5 月 26 日
You could do it by breaking the problem down into those respective blocks, thus extract each block in turn, then solve each subproblem using eig, all in a loop.
Will this be more efficient than simple use of eig? It depends, because you would then be introducing extra function call overhead, extra work that may actually exceed the gain if your problem is not too large.
salah eddine
2016 年 7 月 5 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Linear Algebra についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!