Question: 1 0 . 5 . 1 Additional homework Homework 1 0 . 5 . 1 . 1 . You may want to do a new
Additional homework
Homework You may want to do a new "git pull" to update directory Assignments
In AssignmentsWeekmatlab you will find the files
Givensrotation.m: A function that computes a Givens' rotation from a
times
vector x
FrancisStep.m: A function that performs a Francis Implicit QR Step with a tridiagonal matrix
T
stored as the diagonal and subdiagonal of T
TestFrancisStep.m: A very rudimentary script that performs a few calls to the function FrancisStep. Notice that our criteria for the routine being correct is that the matrix retains the correct eigenvalues.
With this,
Investigate the convergence of the
m
m
element of matrix T
Write a function
function T SpectralDecompositionLambda T
That returns
Lambda
such that
T
Q
Lambda
Q
T
is the Spectral Decomposition of
T
The input matrix
T
is a tridiagonal matrix where only the lower triangular part of the matrix is stored in the diagonal and first subdiagonal of array T The diagonal matrix
Lambda
is returned in T The upper triangular part of the array should not change values. You are encouraged to call the function FrancisStep from the function SpectralDecompositionLambda. Obviously, you need to incorporate deflation in your implementation. How to handle the final
times
matrix is an interesting question... You may use the matlab function eig for this. PLEASE WRITE THE MATLAB CODE EXPLICITLY
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
