DiceSums
Version 1.0.2 (2.11 MB) by
Duncan Carlsmith
Numerical and symbolic probability distribution for a sum of dice with any number, weights, and integral face values (positive or negative).
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 LinuxTags
Acknowledgements
Inspired by: Duhdohnium
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.