categorical.times
categorical: C = times (A, B)
Combine categorical arrays.
C = times (A, B) is the equivalent of the syntax
C = A .* B and returns a categorical array whose
categories are the Cartesian product of the categories in A and
B and each element is indexed to a new category which is the
combination of the categories of the corresponding elements in A
and B.
A and B must be of common size or scalar categorical arrays.
Source Code: categorical