Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.
Join the 15-year community celebration.
Play games and win prizes!
Rate this file 5 Downloads (last 30 days) File Size: 2.07 KB File ID: #37698 Version: 1.0
Random Sample from Discrete PDF
01 Aug 2012
Inverse transform sampling to generate random sample from pdf given by domain x and p(x).