UNIFORM_DATASET
Generate Uniform Random Datasets
UNIFORM_DATASET is a MATLAB program which creates a
uniform random dataset and writes it to a file.
The program allows the user to choose:
-
M, the spatial dimension;
-
N, the number of points to generate;
-
SEED, the initial seed value.
Once these parameters are set, the program generates the data,
and writes it to a file. The user may then specify another
set of data, or terminate the program.
Related Data and Programs:
TABLE
is the format used for the output files created by
UNIFORM_DATASET.
TABLE_DISCREPANCY
is an executable C++ program which can
read a TABLE file of points (presumed to lie in the
unit hypercube) and compute bounds on the star discrepancy,
a measure of dispersion.
UNIFORM
is a MATLAB library containing routines which can be used to
generate uniform pseudorandom numbers.
UNIFORM
is a dataset directory which contains sample datasets
created by UNIFORM_DATASET.
UNIFORM_DATASET is also available in
a C++ version and
a FORTRAN90 version.
Reference:
-
Paul Bratley, Bennett Fox, Linus Schrage,
A Guide to Simulation,
Springer Verlag, pages 201-202, 1983.
-
Bennett Fox,
Algorithm 647:
Implementation and Relative Efficiency of Quasirandom
Sequence Generators,
ACM Transactions on Mathematical Software,
Volume 12, Number 4, pages 362-376, 1986.
-
Donald Knuth,
The Art of Computer Programming,
Volume 2: Seminumerical Algorithms,
Addison Wesley, 1969.
Source Code:
The remaining routines must be copied from
the UNIFORM library.
Examples and Tests:
You can go up one level to
the MATLAB source codes.
Last revised on 26 February 2005.