Question: Create a matlab function that employs the Power Method (PM) to find the largest eigenvalue (evalue) and eigenvector (evector) of a matrix X. The prototype

Create a matlab function that employs the Power Method (PM) to find the largest eigenvalue (evalue) and eigenvector (evector) of a matrix X. The prototype of the function should look like the following. function [evalue, evector] PM_eigen (X); Be sure to check that the matrix is square and to limit the number of iterations to some large count (1000). Use some method to indicate to the calling function that no solution was found (evalue = NaN)? A comment block describing the function is important, be sure to have one in your function. It should be complete with inputs and outputs described
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
