power_method_test, a MATLAB code which calls power_method(), which carries out the power method, for determining the eigenvalue of largest magnitude, and the corresponding eigenvector, of a given matrix.
The information on this web page is distributed under the MIT license.
power_method, a MATLAB code which carries out the power method for finding a dominant eigenvalue and its eigenvector.