Mathematica: Random numbers from arbitrary PDF

1 reply · 3K views · last reply
Niles
Messages
1,834
Reaction score
0
Hi

I want to generate a set of random numbers according to a specific distribution, namely given by
[tex] f(v) \propto v^3\exp(-v^2 C)[/tex]
where C is a constant. It is clear how to do it with a distribution already implemented in Mathematica, http://reference.wolfram.com/mathematica/tutorial/RandomNumberGeneration.html, but is there a way to do it with the one given by me above?


Niles.