sumA = sum(ceil(A),1);
N = size(sumA,2);
Powerlaw = zeros(max(sumA)+1,1);
for i = 1:N
  Powerlaw(sumA(i)+1,1) = Powerlaw(sumA(i)+1,1) + 1;
end;

loglog(Powerlaw,'b.-');
grid on;
title('Stanford-Berkeley Web');
xlabel('Number of outbound links');
ylabel('Number of pages');
