
function state = exe_State(n)

pd = makedist('Multinomial','Probabilities',n);
state = random(pd,1,1);
end