Question: using matlab please and explainas best as you can! In this project you will investigate power methods for determining the eigensystem of the matrix: A=21I+B+BT

using matlab please and explainas best as you can!
using matlab please and explainas best as you can! In this project

In this project you will investigate power methods for determining the eigensystem of the matrix: A=21I+B+BT with B being a random 5050 matrix with entries drawn from the normal distribution. Built in method Use the eigs command in Matlab (or np.linalg.eigs in python) to compute the 2 smallest and 2 largest eigenvalues of A. If you're working in another language, you may need to add a linear algebra library to compute these, but they should be easy to find. Use this solution as the "ground truth" of the eignen value. Power method Use the power method and inverse power method to determine the largest and smallest eigenvalues of A. Then determine associated eigenvectors. Begin with x0=1, repeat this experiment 25 times, and determine the average time it takes to find the eigenvalue and the average error in the vector. Define the eigenvalue error as and the eigenvector error as: Axx where is the eigenvalue returned by the built-in method, and x is a unit length vector you find

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!