Question: Write a Matlab code implementing the power method (see page 205, Algorithm 27.1) to compute approximations of the largest eigenvalue of L and corresponding eigenfunctions.
Write a Matlab code implementing the power method (see page 205, Algorithm 27.1) to compute approximations of the largest eigenvalue of L and corresponding eigenfunctions. Use N = 200 and apply the algorithm to h^-2T_N. Start with a random initial guess, use normalization in the 2-norm, and stope when the difference of two subsequent approximate eigenvectors has 2-norm less than some prescribed tolerance tau. (e. g tau = 10^-6). (a) Report the number of iterations performed. (b) compared approximations with exact eigenvalue/eigenvector pair. (c) Use matalb to plot the computed eigenvector
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
