maxf = 12;

s = randperm(maxf+1)-1;

stairs(s);

ss = '{';
for i = 1:length(s)
   if i <length(s)
    ss = [ss  num2str(s(i)) ' ,'];
   else
    ss = [ss num2str(s(i)) '};'];
   end
end
disp(ss)