what algorithm does EIG() MATLAB function use ?

1 次查看(过去 30 天)
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 个评论
John D'Errico
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
salah eddine 2016-7-5
Hi John D'Errico,
First, Thank you for responding. What you've said is exactly what i was looking for but i couldn't do it. Can you help me please.
Sincerely yours,

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by