Set difference between polyhedra
R = P \ Q
R = mldivide(P,Q)
P |
Polyhedron in any format Class: Polyhedron |
Q |
Polyhedron in any format Class: Polyhedron |
R |
Polyhedron (or array) R = P\S . Class: Polyhedron |
P = ExamplePoly.randHrep;
S = 0.2*P;We can plot the polyhedra.
plot([P,S]);
Q = P \ S
Polyhedron in R^2 with representations: H-rep (irredundant) : Inequalities 5 | Equalities 0 V-rep (irredundant) : Vertices 4 | Rays 2 Functions : nonePlot the polyhedra Q.
plot(Q,'color','limegreen');
◀ | plus | facetinteriorpoints | ▶ |
© 2003 Mato Baotic: ETH Zurich , baotic@control.ee.ethz.ch
© 2003-2013 Michal Kvasnica: STU Bratislava, michal.kvasnica@stuba.sk
© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch