This is what I have to do
disp('You are going to throw a dice and get the total for 5 tries')de=[0 0 0 0 0]for de(1,1)=ceil(rand*6);disp(de(1))end
And you do the same thing for each try
But it keeps giving me an error
ceildicefor loopmonte carlo
disp('You are going to throw a dice and get the total for 5 tries')de=[0 0 0 0 0]for de(1,1)=ceil(rand*6);disp(de(1))end
Best Answer