Gamma Random Variate Generator

Version 1.0.0.0 (841 Bytes) by Simon Rogers
Gamma Random Variate Generator
2.7K Downloads
Updated 16 Nov 2007

No License

Simple function to generate N random variates from a gamma distribution. Uses acceptance-rejection method, e.g. http://en.wikipedia.org/wiki/Gamma_distribution

Cite As

Simon Rogers (2026). Gamma Random Variate Generator (https://www.mathworks.com/matlabcentral/fileexchange/13799-gamma-random-variate-generator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Gamma Functions in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0

Updated source with consistent variable naming