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

genmuth_cdf(x, bet, loc, scale)
% genmuth_cdf.m - evaluates a Generalized Muth Cumulative Distribution.
%   See "Dataplot Reference Manual, MUTCDF", Vol.1, AUX, NIST.
%
%  Created by Jim Huntley,  03/27/09
%

function [cdf] = genmuth_cdf(x, bet, loc, scale)

arg = bet * (x - loc) / scale;
cdf = (1 - exp(-(exp(arg)-1)/bet+arg));

return

Contact us