[Index for rtools]
[Return to Master Index]
[Return to www.radarworks.com]
RT_gamrnd
(rtools/RT_gamrnd.m)
Function Synopsis
out = RT_gamrnd(mu,shape,mrows,ncols)
Help text
function out = RT_gamrnd(mu,shape,mrows,ncols)
Returns variates from the gamma probability density with parameter MU
and SHAPE at the values in x.
The form used is such that the mean value is MU and larger
SHAPE is closer to a Gaussian distribution.
Uses direct inversion of the CDF. The algorithm is slow, but in C it
is still faster than the interpreted gamrnd.m from the Statistics toolbox.
Source: see www.mathworld.com
Part of the Matlab Radar Toolbox v0.11 by Glen Davidson at www.radarworks.com
Please acknowledge use of this toolbox in any publication or software.
This header must be retained in any derivative work
Cross-Reference Information
This function is called by
Produced by mat2html on Mon Mar 17 16:14:19 2003
Cross-Directory links are: OFF