Random number generation
by Paul de Wit
22 Oct 2006
(Updated 25 Oct 2006)
Function which generation n random numbers between 0 and 1
|
Watch this File
|
| File Information |
| Description |
Function which generation n random numbers between 0 and 1 using the formula ri = (177786 ri-1 + 64654 ri-6) mod (2^31-1) |
| MATLAB release |
MATLAB 7.0.1 (R14SP1)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (4) |
| 23 Oct 2006 |
John D'Errico
|
|
|
| 23 Oct 2006 |
Paul de Wit
|
|
|
| 24 Oct 2006 |
John D'Errico
|
|
|
| 16 Nov 2006 |
Paul Connelly
|
|
|
| Updates |
| 24 Oct 2006 |
Reduce the speed of execution significantly, if anyone can increase the speed further I would be happy to update the file thanks John D'Errico |
| 25 Oct 2006 |
Added persistant seed values
tic,prng(10000);,toc
Elapsed time is 0.003760 seconds. |
|
Contact us at files@mathworks.com