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)
A
lambda: Largest eigenvalue
x: corresponding eigenvector