The present submission contains a set of Matlab functions that provide generation of outcomes from the following processes: tossing of one or more coin(s); flipping of one or more N-sided dice; dealing of one or more cards from one or more card decks. The functions could be used for simulation or game purposes (e.g., Monte Carlo simulations or Backgammon game).
A few examples are given to clarify the usage of the functions. For convenience, the input and output arguments are given in the beginning of each function.
인용 양식
Hristo Zhivomirov (2024). Toss a Coin, Flip a Dice or Draw a Card with Matlab (https://www.mathworks.com/matlabcentral/fileexchange/75288-toss-a-coin-flip-a-dice-or-draw-a-card-with-matlab), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2017b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
도움
도움 받은 파일: Matrix Visualization with Matlab
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!