function A = makerand
% MAKERAND : make a random sparse matrix

n = 10000;
nz = 10^5;

A = sparse(n,n);
for k = 1:nz
    i = ceil(n*rand(1));
    j = ceil(n*rand(1));
    v = 1;
    A(i,j) = v;
end;






