Uniform distribution over a convex polytope

version (4.66 KB) by Tim Benham
Samples uniformly the interior of a convex polytope.


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 (2022). 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

Inspired by: Analytic Center

Community Treasure Hunt

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

Start Hunting!