Skip to Main Content Skip to Search
Product Documentation

cat - Class: categorical

Concatenate categorical arrays

Syntax

c = cat(dim,A,B,...)

Description

c = cat(dim,A,B,...) concatenates the categorical arrays A,B,... along dimension dim. All inputs must have the same size except along dimension dim. The set of categorical levels for C is the sorted union of the sets of levels of the inputs, as determined by their labels.

See Also

cat | horzcat | vertcat

  


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