A method for generating a set of random numbers with statistics represented by a cumulative density function (CDF) includes generating a set of uniformly spaced samples between an upper limit and a lower limit. Each of the uniformly spaced samples are then mapped to a corresponding value on a cumulative density function curve. The set of uniformly spaced samples are then scrambled to randomize the samples. Companding may also be incorporated in the sample generation process.