Enkhdul Batkhuyag
Followers: 0 Following: 0
Feeds
提问
Not sure why my code results in a wrong figure. I am trying to simulate 2 dice rolls and counting how many times it takes to roll 2 6s out 10000 trials.
num_trial=10000; num_until_success=1; counter=[]; success_count=0; for i=1:num_trial success_count=0; num_until_su...
4 years 前 | 1 个回答 | 0