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

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

function [cdf] = trunweib_cdf(x, a, b, c)

cdf = 1 - exp(-((x+c)/a)^b + abs(c/a)^b);


Contact us