How can I generate random numbers given its probability distribution function.
Mostrar comentarios más antiguos
How can I generate random numbers given its probability distribution function. I have my cdf as (Fx - Fx^n/n)*(n/(n-1)) where Fx is the cdf of an exponential RV.
Respuestas (1)
Sean de Wolski
el 19 de Jul. de 2013
0 votos
slicesample in the Statistics Toolbox will do this:
Categorías
Más información sobre Univariate Discrete Distributions 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!