Mathematica: Random numbers from arbitrary PDF

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
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.
 
Physics news on Phys.org