Generate sorted vectors of uniformly distributed variates
by Statovic
28 Oct 2008
Efficiently generate sorted p-vectors of variates drawn uniformly from [0,1]
|
Watch this File
|
| File Information |
| Description |
Efficiently generate n sorted p-vectors of variates uniformly from [0,1], i.e. subject to each vector satisfying
x_1 <= x_2 <= x_3 <= ... <= x_p
Imlements the algorithm from:
(1) Generating Sorted Lists of Random Numbers
Jon Louis Bentley and James B. Saxe
ACM Transactions on Mathematical Software (TOMS)
Volume 6, Issue 3, September 1980
|
| Acknowledgements |
This submission has inspired the following:
Generate random permutation order without using sort()
|
| MATLAB release |
MATLAB 7 (R14)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com