lhsdesigncon

Latin hypercube sample with constraints.
713 Downloads
Updated 17 Aug 2015

Generate an NxP latin hypercube sample with bounds and linear constraints and optional exponential distribution.
X=LHSDESIGNCON(N,P,LB,UB,ISEXP) generates a latin hypercube sample X containing N values on each of P variables. For each column, if ISEXP is FALSE the N values are randomly distributed with one from each of N intervals, between LB and UB, of identical widths (UB-LB)/N, and they are randomly permuted. For columns with ISEXP=TRUE, the logarithm of the intervals have identical widths.
X=LHSDESIGNCON(...,A,b) generates a latin hypercube sample subject to the linear inequalities A*x ? b.

X=LHSDESIGNCON(...,'PARAM1',val1,'PARAM2',val2,...) specifies parameter name/value pairs to control the sample generation. See LHSDESIGN for valid parameters.

Cite As

Rik Blok (2024). lhsdesigncon (https://github.com/rikblok/matlab-lhsdesigncon), GitHub. Retrieved .

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

Inspired by: Latin Hypercube

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.1.0.0

Simplify title

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.