To compute the power method for the dominant eigenvalue of a matrix in MATLAB, follow these steps:
main.m276 chars14 lines
Note that this method assumes that A has a unique dominant eigenvalue with a corresponding eigenvector that can be represented as a linear combination of the columns of x. If A does not meet these assumptions, then the convergence of the power iteration is not guaranteed.
gistlibby LogSnag