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

err_pdf(x,alpha)
% err_pdf.m  -  Error Probability Density Function.
% See Dataplot Reference Manual, ERRCDF, NIST.
%
% Created by:  J. Huntley,  04/13/06

function [pdf] = err_pdf(x,alpha)

pdf = exp(-abs(x)^alpha) / (2*gamma(1+1/alpha));

return

Contact us