The following Matlab project contains the source code and Matlab examples used for multinomial random sequence. .
This m-file generates a random sequence of m simulations of k integers from a multinomial distribution with n trials and k outcomes, where the probability for each simulation is,
n!
------------------------- ×p1^n1×p2^n2×.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.
Project Files:
File Name | Size |
---|---|
license.txt | 1322 |
multrnd.m | 4009 |