Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates

by

 

generates random variates from over 870 univariate distributions

recip_cdf(x, b)
% recip_cdf.m - evaluates a Cumulative Reciprocal-Distribution.
%   See "Dataplot Reference Manual, RECCDF", AUX-326, NIST, 3/26/97.
%
%  Created by Jim Huntley,  11/10/03.
%

function [cdf] = recip_cdf(x, b)

cdf = (log10(x) + log10(b)) / log10(b);

return

Contact us