You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Also known as Plinko, this script simulates balls bouncing left and right, with equal probability, as they travel downwards. At the bottom, they are collected into bins with the bar chart illustrating the number of balls in a particular bin.
This is a fun example of the binomial distribution, which can clearly be seen forming in the bar chart.
Cite As
Michael (2026). Bean Machine (https://se.mathworks.com/matlabcentral/fileexchange/32420-bean-machine), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.8 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
