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

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