numel - Class: dataset
Number of elements in dataset array
Syntax
n = numel(A)
n = numel(A, varargin)
Description
n = numel(A) returns 1. To find the number
of elements, n, in the dataset array A,
use prod(size(A)) or numel(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
length, size
 | NumParams property (ProbDistParametric) | | numel (categorical) |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit