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

britfrac_cdf(x, alpha, bet, r)
% britfrac_cdf.m - evaluates a Brittle Fracture Cumulative Distribution.
%   See "Continuous Univarite Distributions", V1, Johnson, Kotz, & Balakrishnan, 
%   J. Wiley, p.694, 1994.
%  Created by Jim Huntley,  12/02/06

function [cdf] = britfrac_cdf(x, alpha, bet, r)

cdf = 1 - exp(-alpha*x^(2*r)*exp(-bet/x^2));


Contact us