Coin And Dice

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 (2026). Coin And Dice (https://kr.mathworks.com/matlabcentral/fileexchange/23448-coin-and-dice), MATLAB Central File Exchange. 검색 날짜: .

도움

도움 받은 파일: Kernel Smoothing Regression

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0