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

fatlife_cdf(x, gam, mu, bet)
% fatlife_cdf.m - evaluates a Cumulative Fatigue Life Probability Distribution.
%   See Wikipedia,
%  Created by Jim Huntley,  03/10/04

function [cdf] = fatlife_cdf(x, gam, mu, bet)
arg1 = (sqrt((x-mu)/bet) - sqrt(bet/(x-mu))) / gam;  
cdf = gaus_cdf(arg1,0,1);


Contact us