Matlab Help
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Richard Brown
2012-5-2
"Use MATLAB to solve the following...."
I've done it, now what do I get? Chocolate fish?
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!