How to sample in matlab by multinomial distribution?
Mostrar comentarios más antiguos
I know for a random variable x that P(x=i) for each i=1,2,...,100. Then how may I sample x by multinomial distribution, based on the given P(x=i) in matlab?
I am allowed to use matlab build in commend
rand
and
randi
but not
mnrnd.
Thank you!
2 comentarios
James Tursa
el 12 de Nov. de 2015
What have you done so far?
dragoon
el 12 de Nov. de 2015
Respuestas (0)
Categorías
Más información sobre Multinomial Distribution en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!