Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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!
image text in transcribed
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

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

Expert Oracle Database Architecture

Authors: Thomas Kyte, Darl Kuhn

3rd Edition

1430262990, 9781430262992

More Books

Students also viewed these Databases questions