Skip to Main Content Skip to Search
Product Documentation

vertcat - Class: categorical

Vertical concatenation for categorical arrays

Syntax

C = vertcat(dim,A,B,...)
C = vertcat(A,B)

Description

C = vertcat(dim,A,B,...) vertically concatenates the categorical arrays A,B,... . For matrices, all inputs must have the same number of rows. For n-D arrays, all inputs must have the same sizes except in the second dimension. The set of categorical levels for C is the sorted union of the sets of levels of the inputs, as determined by their labels.

C = vertcat(A,B) is called for the syntax [A B].

See Also

cat | horzcat

  


 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS