Products & Services Industries Academia Support User Community Company

Learn more about Statistics Toolbox   

numel - Class: categorical

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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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