Coin And Dice
版本 1.0.0.0 (1.5 KB) 作者:
Rodolphe Sitter
Simulate the average number of tosses of coin/throws of dice to get a given sequence.
Compute the estimated average number of coin tosses (or dice throws) to get a given sequence of Heads-and-Tails (or a sequence of intergers ranging from 1 to 6)
The inputs are:
- The Sequence (row vector)
- The Number of Monte-Carlo Simulations
The outputs are the estimated (Monte-Carlo) expectation of number of tosses/throws to get the input sequence, along with the standard deviation of the error (due to the randomness of the simulation)
引用格式
Rodolphe Sitter (2024). Coin And Dice (https://www.mathworks.com/matlabcentral/fileexchange/23448-coin-and-dice), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2007b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- Signal Processing > Signal Processing Toolbox > Digital and Analog Filters > Digital Filter Design > Adaptive Filters >
在 Help Center 和 MATLAB Answers 中查找有关 Adaptive Filters 的更多信息
标签
致谢
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |