05 October, 2014

Generate random numbers with a given distribution

The rand function in MATLAB returns uniformly distributed pseudorandom values, but we often need random numbers of other kind of distributions.
A great article written by John S. Denker explains a method of generating random numbers with arbitrary distribution. This post is based on his work, and shows a simple MATLAB implementation.

Read more

Home← Older posts