% repeat computation for 100 times on the first 6834 pages.
for i=1:100
  [x,res,I] = pageRank(A(1:6834*i,1:6834*i));
  rank_array(1:6834,i) = x(1:6834);
  res_array(1:size(res,2),i) = res';
  I_array(1:size(I,2),i) = I';
  disp(i);
end;

save rank_array rank_array;
save res_array res_array;
save I_array I_array;

plot(rank(1,1:100),'b*');
