Code covered by the BSD License  

Highlights from
Generation of Random Variates

image thumbnail

Generation of Random Variates



generates random variates from over 870 univariate distributions

trunray_cdf(x, b, c)
% trunray_cdf.m - evaluates a Truncated Rayleigh Cumulative Distribution.
%   See "WAFO.Description of wtraylpdf", at
%  Created by Jim Huntley,  08/09/06

function [cdf] = trunray_cdf(x, b, c)

cdf = 1 - exp(-0.5*((x-c)^2 - c^2)/b^2);


Contact us