Matlab Help
5 views (last 30 days)
Show older comments
Use MATLAB to solve the following.
Assume that A is a diagonalizable matrix and that the diagonal matrix D related to A by D = P^-1 AP is such that its diagonal entries are arranged in decreasing order.
The value lambda 1 is called strictly dominant eigenvalue. Then the following method, called the Power Method, can be used to estimate the strictly dominant eigenvalue:
(1.1) Select an initial vector x0 whose largest entry is 1.
(1.2) For k = 0,1,2,... compute Axk. To calculate xk+1, let uk be an entry in Axk with largest absolute value, and then set xk+1 = (1/uk)Axk.
(1.3) For almost all choices of the initial vector, the sequence {uk} approaches the strictly dominant eigenvalue, while the sequence {xk} approaches a corresponding eigenvector.
(a) Use the power method to find an approximation of the strictly dominant eigenvalue and a corresponding eigenvector for the following data. Use 15 iterations.
(a1) A = [-4,-1,0; 0,-2,4; 2,0,1], x0 = [0;1;1]
(a2) A = [2,0,1;0,-2,4; 4,1,0], x0 = [0;1;1]
5 Comments
Walter Roberson
on 2 May 2012
I seem to be having difficulty in distinguishing between ones and ells ?
Answers (1)
Richard Brown
on 2 May 2012
"Use MATLAB to solve the following...."
I've done it, now what do I get? Chocolate fish?
0 Comments
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!