Chronology | Current Month | Current Thread | Current Date |
[Year List] [Month List (current year)] | [Date Index] [Thread Index] | [Thread Prev] [Thread Next] | [Date Prev] [Date Next] |
for m=1:n
a=zeros(21,5);
for i=1:21
a(i,1) = fix(1+rand*35);
for j = 2:5
rn = fix(1+rand*35);
while any(rn==a(i,1:j-1))
rn = fix(1+rand*35);
end
a(i,j)=rn;
end
end