Number of elements in categorical array
Syntax
n = numel(A)
n = numel(A, varargin)
Description
n = numel(A) returns the number of elements
in the categorical array A.
n = numel(A, varargin) returns the number
of subscripted elements, n, in A(index1,
index2, ..., indexN), where varargin is
a cell array whose elements are index1, index2, ... indexN.
See Also
size
 | numel (dataset) | | numnodes (classregtree) |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit