Representing Polyhedral Convex Hulls by Vertices or (In)Equalities (Scripts) Publisher's description
from Matt J
This submission contains VERT2LCON and LCON2VERT
This submission contains VERT2LCON and LCON2VERT, which will find the linear constraints defining a bounded polyhedron in R^n, given its vertices, or vice versa. They are extensions of Michael Kleder's VERT2CON and CON2VERT functions that can handle cases where the polyhedron is not solid in R^n, i.e., where the polyhedron is defined by both equality and inequality constraints. Some other refinements to the original VERT2CON and CON2VERT subroutines, meant to improve speed and reliability, have also been made.
The rows of the N x n matrix V are a series of N vertices of the polyhedron
in R^n, defined by the linear constraints
A*x <= b
Aeq*x = beq
For LCON2VERT, Aeq=beq= are the default inputs, implying no equality constraints. The output "nr" lists non-redundant inequality constraints, and "nre" lists non-redundant equality constraints.
The optional TOL argument is a tolerance used for rank-estimation purposes and to handle finite precision issues. Default=1e-10.
Consider V=eye(3) corresponding to the 3D region defined by x+y+z=1, x>=0, y>=0, z>=0.
0.4082 -0.8165 0.4082
0.4082 0.4082 -0.8165
-0.8165 0.4082 0.4082
0.5774 0.5774 0.5774
And the reverse conversion is,
1.0000 0.0000 0.0000
-0.0000 1.0000 0
0 0.0000 1.0000
System Requirements:MATLAB 7.11 (2010b)
Program Release Status: New Release
Program Install Support: Install and Uninstall