Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Mathematica: Random numbers from arbitrary PDF

  1. Apr 23, 2012 #1
    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?

    Best,
    Niles.
     
  2. jcsd
  3. Apr 23, 2012 #2
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook