image thumbnail

Optimal-Space Filling Design

version 1.0.0 (1.61 KB) by Moreno, M.
Generates an optimally-sampled distribution of points in arbitrary dimensions with almost-uniform distribution. Simpler version of MAXIMIN.

14 Downloads

Updated 22 May 2022

View License

Syntax
x = osf(n, p)
x = osf(n, p, iterations)
x = osf(n, p, iterations, cycles)
Description
x = osf(n, p, i, j) returns a distribution of 'n' points in 'p' dimensions with a quasi-uniform distribution seeking an optimally-space sampled design. The algorithm performs 'i' cycles of 'j' MAXIMIN iterations per cycle (maximising the statistical minimum distance between points). This algorithm can be regarded as a simpler and much faster version of the MAXIMIN FileExchange submission, when the design space is cartesian and no seed generation constraints are needed.
For reference,
See also MAXIMIN, LHSDESIGN, LHSNORM, UNIFRND.
Examples
x = osf(40, 2);
x = osf(50, 5);
x = osf(70, 3, 5, 400);

Cite As

Moreno, M. (2022). Optimal-Space Filling Design (https://www.mathworks.com/matlabcentral/fileexchange/112065-optimal-space-filling-design), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!