Returns the total number of array elements.
NUMEL(a)
a |
- |
Optional. A series or array. Defaults to current Window. |
An integer, the total number of array elements.
a = rand(20, 3);
numel(a) == 60
b = {{1..10, 2, 1..2}}
numel(b) == 13
For a series, numel(s) == length(s).