vertcat

Purpose

Vertical concatenation for union objecs.

Syntax

U = [U1; U2]
S = vertcat(U1,U2)

Description

Overloaded method for vertical concatenation of unions. It is not possible to concatenate objects of different type to the same array (e.g. PolyUnion and Union). Similarly, it is not possible to concatenate into matrices, only vectors are allowed.

Input Arguments

U1

Object of the Union class.

Class: Union

U2

Object of the Union class.

Class: Union

Output Arguments

U

The array of the Union objects.

Class: Union

Example(s)

Example 1

We have two polyhedra in U1 object.
 P(1) = ExamplePoly.randHrep; 

 P(2) = ExamplePoly.randHrep; 

 U1 = Union(P); 
 The object U2 contains one polyhedron.
 U2 = Union(ExamplePoly.randHrep)
Union of 1 convex sets.
Functions : none
Concatenate unions vertically
 U = [U1; U2] 
Array of 2 Unions.

See Also

horzcat


© 2010-2013 Martin Herceg: ETH Zurich, herceg@control.ee.ethz.ch