Analytic Center

version (1.51 KB) by Tim Benham
Computes the analytic center of a set of linear equations.


Updated 21 Nov 2011

View License

For a feasible set of linear equations Ax<=b that define a bounded polytope, the analytic center is the feasible point that maximizes prod(b-Ax).

[y flag] = ancenter(A, b) returns the analytic center, y, and the exit flag returned by the fmincon invocation that located it. It flag is -2 then ancenter has failed.

Cite As

Tim Benham (2022). Analytic Center (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: Uniform distribution over a convex polytope

Community Treasure Hunt

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

Start Hunting!