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

greenwich_cdf(x, a, b)
% greenwich_cdf.m - evaluates a Greenwich Cumulative Distribuiton.
%   See "Continuous Univariate Distributions", Johnson, Kotz, and
%   Balakrishnan, V2, J. Wiley, , p.641, 1996. 
%
%  Created by Jim Huntley,  10/27/06
%
%

function [cdf] = greenwich_cdf(x, a, b)

cdf = 1 - exp(-a.*x - b.^2.*x.^2);

return

Contact us