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