4.2 Power method, Perron-Frobenius theorem 1. Download the file "WeirdMatrix.mat" into your Matlab working directory and
Posted: Wed May 04, 2022 10:30 am
Below is the weirdmatrix.mat data file.
4.2 Power method, Perron-Frobenius theorem 1. Download the file "WeirdMatrix.mat" into your Matlab working directory and run the fol- lowing command in the command window: Homework 04: ICSI 501 - Numerical Linear Algebra 4-3 load (WeirdMatrix.mat') This will load a matrix called A into Matlab's memory. (a) Try to use the power method to estimate the eigenvalue of largest absolute value and corresponding eigenvector, using several different numbers of iterations. What behavior do you observe? (b) Explain the behavior that you observe in terms of the properties of the matrix A. (c) Write a function that implements the inverse iteration method, which was covered in class. Use this to discover the eigenvector and eigenvalue closest to 1 of A, using an initial eigenvalue guess of μ = 1.2.
4x4 double 1 0.1794 -0.3084 -0.5499 0.5018 2 -0.3084 -0.4614 0.4574 -0.3449 3 -0.5499 0.4574 0.0464 0.3480 4 0.5018 -0.3449 0.3480 0.2355
4.2 Power method, Perron-Frobenius theorem 1. Download the file "WeirdMatrix.mat" into your Matlab working directory and run the fol- lowing command in the command window: Homework 04: ICSI 501 - Numerical Linear Algebra 4-3 load (WeirdMatrix.mat') This will load a matrix called A into Matlab's memory. (a) Try to use the power method to estimate the eigenvalue of largest absolute value and corresponding eigenvector, using several different numbers of iterations. What behavior do you observe? (b) Explain the behavior that you observe in terms of the properties of the matrix A. (c) Write a function that implements the inverse iteration method, which was covered in class. Use this to discover the eigenvector and eigenvalue closest to 1 of A, using an initial eigenvalue guess of μ = 1.2.
4x4 double 1 0.1794 -0.3084 -0.5499 0.5018 2 -0.3084 -0.4614 0.4574 -0.3449 3 -0.5499 0.4574 0.0464 0.3480 4 0.5018 -0.3449 0.3480 0.2355