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.
引用
Michael (2024). Bean Machine (https://www.mathworks.com/matlabcentral/fileexchange/32420-bean-machine), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R2010a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB Answers で Bar Plots についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |