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

skellam_cdf(n, mu1, mu2)
% skellam_cdf.m - compute Skellam Distribution Function.
%   See web, "".
%  Created by:  Jim Huntley,  09/29/05.

function [cdf] = skellam_cdf(n, mu1, mu2)

sum1 = skellam_pdf(0, mu1, mu2);
for jn = 1:n
    sum1 = sum1 + skellam_pdf(jn, mu1, mu2);
cdf = sum1;

Contact us