Random number generation

Version 1.0.0.0 (757 Bytes) by Paul de Wit
Function which generation n random numbers between 0 and 1
1.8K Downloads
Updated 25 Oct 2006

No License

Function which generation n random numbers between 0 and 1 using the formula ri = (177786 ri-1 + 64654 ri-6) mod (2^31-1)

Cite As

Paul de Wit (2024). Random number generation (https://www.mathworks.com/matlabcentral/fileexchange/12747-random-number-generation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
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
1.0.0.0

Added persistant seed values

tic,prng(10000);,toc
Elapsed time is 0.003760 seconds.