Latin hypercube sample with constraints.
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). lhsdesigncon (https://github.com/rikblok/matlab-lhsdesigncon), GitHub. Retrieved .
Acknowledgements
Inspired by: Latin Hypercube
General Information
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.1.0.0 | Simplify title |
||
| 1.0.0.0 |
