function xx = randxx(m,nn) for k=1:m xx{k} = ceil(m*rand(1,nn)); end return