Performing random numbers generator from a generic discrete distribution in matlab

The following Matlab project contains the source code and Matlab examples used for performing random numbers generator from a generic discrete distribution. This function extracts a scalar/vector/matrix of random numbers with discrete Probability Distribution Function.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
gDiscrPdfRnd.c 2367
gDiscrPdfRnd.dll 53248
gDiscrPdfRnd.m 2256