(Solved) : 1 25 Pts Given Following Start Matlab Function Function S Poermethod N B N Inputs Dimensio Q35375193 . . .

1. (25 pts) Given the following start for a Matlab function: function [s)PoerMethod(n,A,b,N) that inputs » dimension n; . n x n matrix A and n x 1 vector b number of steps N; complete the function so that it performs N steps of the Power method, using initial guess. Ơo), a vector of all ones, and outputs the approximate eigenvalue SN. Do not use Matlab’s in-built constant-vector, vector-vector, or matrix-vector multiplications Remember Power method iterations: q An, where s (A)uch that , where Sk+i ( Sk+1 Show transcribed image text
Expert Answer
Answer to 1 25 Pts Given Following Start Matlab Function Function S Poermethod N B N Inputs Dimensio Q35375193 . . .
OR