DiceSums

Numerical and symbolic probability distribution for a sum of dice with any number, weights, and integral face values (positive or negative).
17 Downloads
Updated 29 Jul 2022

View License

Illustrates how to use probability generating functions to find probability mass functions for the sum of dice faces for combinations of any number of dice, each with arbitrary number of faces, weights, and face values (positive or negative). Creates analytic formula which can be used to study sensitivity to weights.

Cite As

Duncan Carlsmith (2024). DiceSums (https://www.mathworks.com/matlabcentral/fileexchange/98794-dicesums), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: Duhdohnium

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

DiceSums

Version Published Release Notes
1.0.2

Spell check

1.0.1

Added cover page image

1.0.0