rejection_sample_test, a MATLAB program which calls rejection_sample() to demonstrate acceptance/rejection sampling.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
rejection_sample, a MATLAB library which demonstrates acceptance/rejection sampling.