Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates


James Huntley


generates random variates from over 870 univariate distributions

yule_cdf(n, p)
% yule_cdf.m - evaluates a Yule Cumulative Distribution.
%   See YULCDF, Dataplot Reference Manual, Vol. 1, Aux., NIST   
%  Created by Jim Huntley,  08/16/11

function [cdf] = yule_cdf(n, p)

sum1 = yule_pdf(0, p);
for jn = 1:n
    sum1 = sum1 + yule_pdf(jn, p);
cdf = sum1;


Contact us