Random number with specified probability in matlab

The following Matlab project contains the source code and Matlab examples used for random number with specified probability. Generate samples from a discrete distribution (i.

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
discreternd.m 440
license.txt 1307