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

    I want to generate a set of random numbers according to a specific distribution, namely given by
    f(v) \propto v^3\exp(-v^2 C)
    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?

  2. jcsd
  3. Apr 23, 2012 #2
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook