Solution Found!
[M] Exercises 7–12 require MATLAB or other
Chapter 5, Problem 12E(choose chapter or problem)
[M] Exercises 7–12 require MATLAB or other computational aid. In Exercises 7 and 8, use the power method with the x0 given. List In Exercises 9 and 10, Another estimate can be made for an eigenvalue when an approximate eigenvector is available. Observe that if and the Rayleigh quotient
Questions & Answers
QUESTION:
[M] Exercises 7–12 require MATLAB or other computational aid. In Exercises 7 and 8, use the power method with the x0 given. List In Exercises 9 and 10, Another estimate can be made for an eigenvalue when an approximate eigenvector is available. Observe that if and the Rayleigh quotient
ANSWER:Solution 12EStep 1 The objective is to find the list of using power method for the following matrix: Use MATLAB to find the list.Code for MATLAB:function[x,lambda]=powermat(A,x0,nit) x = x0; for n=1:nit xnew = A*x; lambda = norm(xnew,inf)/norm(x,inf); fprintf('n = %4d lambda = %g x = %g %g %g \n', n, lambda, x'); x=xnew; end x=x/norm(x);%normalise x fprintf('n = %4d normalised x = %g %g %g\n', n, x');