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!

 채택된 답변

Andrew Newell
Andrew Newell 2011년 3월 30일

1 개 추천

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

sucheta
sucheta 2011년 3월 31일
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 2014년 2월 27일
hi sucheta, can you give me the simpler code that you made?? thanks before :)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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

제품

질문:

2011년 3월 30일

댓글:

2014년 2월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by