Dice Probability

%Author: Minster
n = 1; %number of trials
k=0;
l=0;
a = zeros(6,1); %dice #1
b = zeros(6,1); %dice #2

while k 1/6 %while
M=M+1;
end
roll=mean(R);