Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates


James Huntley (view profile)


generates random variates from over 870 univariate distributions

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

function [pdf] = exp_pdf(x, mu)

pdf = (1/mu) .* exp( - (x./mu) );


Contact us