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

topleon_cdf(x, bet, a, b)
% topleon_cdf.m - evaluates a Topp and Leone Cumulative Distribution.
%   See "Dataplot Reference Manual", vol.1, Aux.
%  Created by Jim Huntley,  01/09/10

function [cdf] = topleon_cdf(x, bet, a, b)

argx = (x-a) ./ (b-a);
cdf = (2.*argx-argx.^2).^bet;


Contact us