Implementation of Inversive Congruential PRNG Genertor

A function for generation of Random Numbers Using the Inversive Congruential Generator Algorithm.


Updated 9 Apr 2014

View License

Pseudo Random Number Generation using the Inversive Congruential Generator Algorithm is attempted here. The function is invoked with a seed and three parameters, q, a and c. Note that the seed must not be 0.

Cite As

Dr Raveendranathan K C (2023). Implementation of Inversive Congruential PRNG Genertor (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Random Number Generation in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes