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

waittime_cdf(n, p, k, nn)
% waittime_cdf.m - compute Heads-Minus-Tails Cumulative Distribution Function.
%   See "How does Tandem Repeats Finder work?",
%   "".
%  Created by Jim Huntley,  01/04/08

function [cdf] = waittime_cdf(n, p, k, nn)

sum1 = 0;
for jn = 1:n
    sum1 = sum1 + waittime_pdf(jn, p, k, nn);
cdf = sum1;


Contact us