www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/WilkinsonTestMatrixExample.m

    %% Wilkinson Test Matrix
% Compute a 7-by-7 Wilkinson eigenvalue test matrix.  The most frequently
% used case is |wilkinson(21)|, whose two largest eigenvalues are
% approximately 10.746; they agree to 14, but not 15, decimal places.
W = wilkinson(7)