image thumbnail

Distribution of Random variables

version (103 KB) by Bhartendu
Methods to generate different random variates


Updated 21 May 2017

View License

1. Uniform random variate
2. Exponential random variate
3. Erlang random variate
4. Bernoulli random variate
5. Binomial random variate
6. Geometric random variate
7. Negative Binomial random variate
8. Normal random variate
A linear congruential generator (LCG) is an algorithm that yields a sequence of pseudo-randomized numbers calculated with a discontinuous piecewise linear equation. The method represents one of the oldest and best-known pseudorandom number generator algorithms.


Cite As

Bhartendu (2021). Distribution of Random variables (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!