Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A) Create a matlab function that employs the Power Method (PM) to find the largest eigen value(evalue) and eigen vector (evector) of a matrix X.

A)

Create a matlab function that employs the Power Method (PM) to find the largest eigen value(evalue) and eigen vector (evector) of a matrix X. The prototype of the function should look like the following.

function [evalue, evector] = PM_eigen( X )

Be sure to check that the matrix is square and to limit the number of iterations to some large count (1000). Use some method to indicate to the calling function that no solution was found(evalue = NaN)?

B)

Once we have an eigenvalue and vector, we will want to remove that eigenvalue - vector set from the matrix. This removal (or deflation) can be done by the following equation

image text in transcribed

Lambda is the eigen value and v is the eigen vector

Create a function that will remove an eigenvalue vector set from a matrix returning a matrix. function [Xreduced] = Eigen_Deflate( X, eigenValue, eigenVector );

C)

Employ these two functions to search for all the eigenvalue vectors in the matrix X. function [vectors,values] = EigenVV( X ); Note the eigenvectors will be the columns of the return-value vectors, and the eigenvaluesshould be placed in the diagonal elements of return-value values, an N x N matrix, all otherelements are zero.

Reduced X v v

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

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions