Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates

by

James Huntley (view profile)

 

generates random variates from over 870 univariate distributions

harris_cdf(n, k, m)
% harris_cdf.m - compute Harris Cumulative Distribution Function.
%   See "Harris Processes", s. Sebastian et al., India, web.
%
%  Created by:  Jim Huntley,  07/11/06.
%

function [cdf] = harris_cdf(n, k, m)

sum1 = harris_pdf(0, k, m);
for jn = 1:n
    sum1 = sum1 + harris_pdf(jn, k, m);
end
cdf = sum1;
    
return



Contact us