Question: (a) Implement the Lanczos iteration algorithm in MATLAB, which takes a matrix A, initial vector b and the preferred number of iterations as input, and

 (a) Implement the Lanczos iteration algorithm in MATLAB, which takes a

(a) Implement the Lanczos iteration algorithm in MATLAB, which takes a matrix A, initial vector b and the preferred number of iterations as input, and returns the tridiagonal matrix Tn as output. (b) Generate a 100 x 100 real symmetric matrix in MATLAB and apply your al- gorithm to this matrix to find its smallest eigenvalue up to six digits accuracy. How many iterations do you need to satisfy the required accuracy? (You may use the built-in eigenvalue finder in MATLAB for finding the eigenvalues of Tn. and comparison.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!