Community Profile

photo

Enkhdul Batkhuyag


Last seen: 8 months ago Active since 2020

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


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...

1 year ago | 1 answer | 0

1

answer