function cc=classify(a,b,m);
// assumes that the numbers are between 0 and 1 and classifies them
// for histogram purposes

cc=zeros(m,2*m);

[n,ig]=size(a);
for i=1:n
ii=ceil(m*a(i));
jj=ceil(m*b(i));
cc(ii,jj)=cc(ii,jj)+1;
end;

endfunction;

