homogenize
Purpose
Compute the homogenization of the given Polyhedron.
Syntax
H = P.homogenize(type)
H = homogenize(P, type)
Description
Compute the homogenization of the given Polyhedron. Parametrize the right hand side of the
inequalities/equalities that describe the polyhedron to get homogenized system of equations
and
.
Given Polyhedron

the homogenization is

where the
is the lifting parameter. The dimension of the polyhedron
is
by one greater than the dimension of
.
If type = 'Hrep' or type = 'Vrep' is specified, then the homogenization is returned
in this form, otherwise the returned type is equal to the type of
.
Input Arguments
P |
Polyhedron in any format
Class: Polyhedron
|
type |
Desired type of the returned polyhedron
Class: char Allowed values:
-
HrepHyperplane representation.
-
VrepVertex representation.
|
Output Arguments
H |
Homogenization of P polyhedron
Class: Polyhedron
|
Example(s)
Example
1
Create random polyhedron and homogenize:P = ExamplePoly.randHrep;
H = P.homogenize;
Plot the result:plot([P, H]);

© 2010-2013 Colin Neil Jones: EPF Lausanne, colin.jones@epfl.ch