Simple power method iteration

10 visualizaciones (últimos 30 días)
sucheta
sucheta el 30 de Mzo. de 2011
Comentada: Farudi el 27 de Feb. de 2014
I have a matrix A, and want to implement a simple power method iteration to find the largest eigenvalue in modulus. After doing this, I want to find the smallest (most negative) eigenpair of A, and here I think I need the Inverse power method with a shift. I know eig(A) works just fine, but I want to know how to do this using the power method iteration. Thanks!

Respuesta aceptada

Andrew Newell
Andrew Newell el 30 de Mzo. de 2011
The power method is implemented in MATLAB here. They point out that a naive version of this algorithm will not work well under some circumstances.
  2 comentarios
sucheta
sucheta el 31 de Mzo. de 2011
Thanks Andrew, I did look at that code but it seems far more complicated. I figured out a simpler code for the iteration. Thanks anyways!
Farudi
Farudi el 27 de Feb. de 2014
hi sucheta, can you give me the simpler code that you made?? thanks before :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Linear Algebra en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by