dice_simulation_test
dice_simulation_test,
a MATLAB program which
calls dice_simulation() to simulate N games in which M dice are thrown and summed.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Related Data and Programs:
dice_simulation,
a MATLAB library which
simulate N games in which M dice are thrown and summed.
Source Code:
-
dice_simulation_test.m,
calls all the tests.
-
dice_simulation_test.sh,
runs all the tests.
-
dice_simulation_test.txt,
the output file.
-
dice_freq_100_1.png,
a frequency plot of 100 throws of 1 die
-
dice_prob_100_1.png,
a probability plot of 100 throws of 1 die
-
dice_freq_1000_2.png,
a frequency plot of 1000 throws of 2 dice
-
dice_prob_1000_2.png,
a probability plot of 1000 throws of 2 dice
-
dice_freq_10000_3.png,
a frequency plot of 10000 throws of 3 dice
-
dice_prob_10000_3.png,
a probability plot of 10000 throws of 3 dice
-
dice_freq_100000_4.png,
a frequency plot of 100000 throws of 4 dice
-
dice_prob_100000_4.png,
a probability plot of 100000 throws of 4 dice
Last revised on 07 January 2019.