maxeig function

Compute the largest eigenvalue and associated eigenvector of a matrix A using the power method

Compute the largest eigenvalue and associated eigenvector of a matrix A using the power method

MATLAB Function: Copyright 1999 by Todd K. Moon

maxeig(A)

Arguments

  • A: Matrix whose eigenvalue is sought

Returns

  • lambda: Largest eigenvalue

  • x: corresponding eigenvector