Uniform distribution over a convex polytope

Samples uniformly the interior of a convex polytope.
989 Downloads
Updated 13 Feb 2012

View License

CPRND draws samples from the uniform distribution over the interior of a polytope defined by a system of linear inequalities Ax < b using the Gibbs sampler, the hit-and-run sampler, or the adaptive centering hit-and-run sampler. Provides option of isotropic transformation.

Cite As

Tim Benham (2024). Uniform distribution over a convex polytope (https://www.mathworks.com/matlabcentral/fileexchange/34208-uniform-distribution-over-a-convex-polytope), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Bounding Regions in Help Center and MATLAB Answers
Acknowledgements

Inspired by: Analytic Center

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

Added ACHR, Gibbs sampler, isotropic transformation, and misc. options.

1.1.0.0

Title improved.

1.0.0.0