function x=die(n) x=ceil(6*rand(n,1));