How can I generate random numbers given its probability distribution function.
Mostra commenti meno recenti
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.
Risposte (1)
Sean de Wolski
il 19 Lug 2013
0 voti
slicesample in the Statistics Toolbox will do this:
Categorie
Scopri di più su Univariate Discrete Distributions in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!