Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Power Method and Inverse iteration (a) Implement the Power Method for an arbitrary matrix A Elementof R ^ n times n and an initial vector

image text in transcribed

Power Method and Inverse iteration (a) Implement the Power Method for an arbitrary matrix A Elementof R ^ n times n and an initial vector x_0 elementof r ^ n (b) Use your code to find an eigenvector of A = [-2 1 4 1 1 1 4 1 -2] starting with x_0 = (1,2, -1) ^ T and x_0 = (1,2, 1) ^ T. Report the first 5 iterates for each of the two initial vectors. Then use MATLAB's (A) to examine the eigenvalues and eigenvectors of A. Where do the sequences converge to? Why do the limits not seem to be the same? (c) Implement the Inverse Power Method for an arbitrary matrix A elementof R ^ n times n, an initial vector x_0 Elementof R ^ n and an initial eigenvalue guess theta Elementof R. d) Use your code from (c) to calculate all eigenvectors of A. You may pick appropriate values for theta and the initial vector as you wish (obviously not the eigenvectors them selves). Always report the first 5 iterates and explain where the sequence converges to and why. Power Method and Inverse iteration (a) Implement the Power Method for an arbitrary matrix A Elementof R ^ n times n and an initial vector x_0 elementof r ^ n (b) Use your code to find an eigenvector of A = [-2 1 4 1 1 1 4 1 -2] starting with x_0 = (1,2, -1) ^ T and x_0 = (1,2, 1) ^ T. Report the first 5 iterates for each of the two initial vectors. Then use MATLAB's (A) to examine the eigenvalues and eigenvectors of A. Where do the sequences converge to? Why do the limits not seem to be the same? (c) Implement the Inverse Power Method for an arbitrary matrix A elementof R ^ n times n, an initial vector x_0 Elementof R ^ n and an initial eigenvalue guess theta Elementof R. d) Use your code from (c) to calculate all eigenvectors of A. You may pick appropriate values for theta and the initial vector as you wish (obviously not the eigenvectors them selves). Always report the first 5 iterates and explain where the sequence converges to and why

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Azure SQL Database For Modern Developers Building Applications In The Microsoft Cloud

Authors: Davide Mauri, Silvano Coriani, Anna Hoffma, Sanjay Mishra, Jovan Popovic

1st Edition

1484263693, 978-1484263693

More Books

Students also viewed these Databases questions

Question

What sources of personal financing are available to entrepreneurs?

Answered: 1 week ago

Question

dy dx Find the derivative of the function y=(4x+3)5(2x+1)2.

Answered: 1 week ago

Question

What does Processing of an OLAP Cube accomplish?

Answered: 1 week ago