Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates



generates random variates from over 870 univariate distributions

bradf_pdf(x, bet)
% bradf_pdf.m - evaluates a Bradford Probability Density.
%   See "Dataplot Reference Manual, BRACDF", AUX-69, NIST, 3/24/1997.
%  Created by Jim Huntley,  11/19/03

function [pdf] = bradf_pdf(x, bet)

%persistent coef

    coef = bet / log(1+bet);

pdf = coef / (1+bet*x);


Contact us