Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates

by

James Huntley (view profile)

 

generates random variates from over 870 univariate distributions

exp_cdf(x,mu)
%test_cdf.m - evaluates an Exponential Cumulative Distribution.
%   See write-up for "exp_pdf" in Matlab Statistics Toolbox.
%
%   created by: J. Huntley,  11/04/03.
%

function [cdf] = exp_cdf(x,mu)

cdf = 1 - exp( -(x./mu) );

return

Contact us