categorical

Methods

Method Reference: categorical.isscalar

categorical: TF = isscalar (C)

Return true if categorical array is a scalar.

TF = isscalar (C) returns a logical scalar TF, which is true, if the categorical array C is also a scalar, and false otherwise. A scalar is a single element object for which size (X) returns [1, 1].

Source Code: categorical