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

parabolic_cdf(x, a, b)
% parabolic_cdf.m - evaluates a Parabolic Cumulative Distribution.
%   See "Computer Generation of Statistical Distributions", R. Saucier,
%   Army Research Laboratory, March, 2000.
%
%  Created by Jim Huntley,  07/20/06
%

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

cdf = 0.25 * (a+2*b-x) * (x-a+b)^2 / b^3;

return

Contact us