Vertical concatenation for convex set objecs.
S = [S1; S2]
S = vertcat(S1,S2)
S1 |
Any object derived from the ConvexSet class, e.g. Polyhedron, YSet, ... Class: ConvexSet |
S2 |
Any object derived from the ConvexSet class that is of the same type as S1. Class: ConvexSet |
S |
The array of the convex sets. Class: ConvexSet |
x = sdpvar(2,1);
S1 = YSet(x,[x(1)-x(2)<=1]);
S2 = YSet(x,[-2*x(1)+3*x(2)>=2]);Vertical concanation gives an array with 2 elements
S = [S1; S2]
Array of 2 YSets.
◀ | fplot | isemptyset | ▶ |
© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch