Question: BY USING MATLAB: Problem1: Problem 2: 5. Write a function to perform the Power Method to find the dominant eigenvalue/vector. Your function should input a

BY USING MATLAB:
Problem1:

Problem 2:

5. Write a function to perform the Power Method to find the dominant eigenvalue/vector. Your function should input a square matrix, convergence tolerance, and maximum number of iter- ations. Your function should output the dominant eigenvalue and the associated eigenvector (normalized so that the largest component is 1, .e, use inf-norm to normalize), and the number of iterations to converge. Use an error measure of the form v-X112. Use a tolerance of 1 x 10-5 for all parts (30 points). ka,k Use your function to find the dominant eigenvalue/vector for the matrices from problems 1, 2, and the matrix A below (5,5,10 points). [6-3 2 4 7-42-5 5. Write a function to perform the Power Method to find the dominant eigenvalue/vector. Your function should input a square matrix, convergence tolerance, and maximum number of iter- ations. Your function should output the dominant eigenvalue and the associated eigenvector (normalized so that the largest component is 1, .e, use inf-norm to normalize), and the number of iterations to converge. Use an error measure of the form v-X112. Use a tolerance of 1 x 10-5 for all parts (30 points). ka,k Use your function to find the dominant eigenvalue/vector for the matrices from problems 1, 2, and the matrix A below (5,5,10 points). [6-3 2 4 7-42-5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
