load hollins

rscore = PageRank(A(1:500,1:500), 0.05);
[s,RI] = sort(rscore, 'descend');
fprintf('Iterative Approach\n');
for i = 1:10
    fprintf('(score: %6.4f) %s\n', s(i), U{RI(i)});
end

fprintf('\nEigenvalue Approach\n');
rscore = PageRank(A(1:500,1:500), 0.05, 0);
[s,RI] = sort(rscore, 'descend');
for i = 1:10
    fprintf('(score: %6.4f) %s\n', s(i), U{RI(i)});
end
