Question: Normalized Power Iteration and Normalized Inverse Power Iteration In this question, you are given As, a numpy array of shape n x 2 x 2,


Normalized Power Iteration and Normalized Inverse Power Iteration In this question, you are given As, a numpy array of shape n x 2 x 2, where each element As [1] is a 2 2 matrix. You need to use both normalized power iteration and normalized inverse power iteration to figure out the eigenvalues and eigenvectors of each matrix A in As. We will then look at the factors which influence the convergence rate of power iteration In other words, for each A in As: 1. Implement the normalized power iteration and run it on A. Use the following vector as your initial guess x0 Let xk be the vector obtained in the kth round of normalized power iteration. Stop 12 the iteration if x has stopped changing, i.e. if xk+1- xkl2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
