Coin And Dice

Simulate the average number of tosses of coin/throws of dice to get a given sequence.

Ahora está siguiendo esta publicación

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)

Citar como

Rodolphe Sitter (2026). Coin And Dice (https://es.mathworks.com/matlabcentral/fileexchange/23448-coin-and-dice), MATLAB Central File Exchange. Recuperado .

Agradecimientos

Inspirado por: Kernel Smoothing Regression

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0