Uniform distribution over a convex polytope

Samples uniformly the interior of a convex polytope.

You are now following this Submission

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 (2026). Uniform distribution over a convex polytope (https://www.mathworks.com/matlabcentral/fileexchange/34208-uniform-distribution-over-a-convex-polytope), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Analytic Center

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

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

1.1.0.0

Title improved.

1.0.0.0