MATLAB numel function
Provides number of elements in array A
or subscripted array expression.
numel(A, varargin)
A |
object of which to determine the number of elements |
varargin |
unimplemented |
Returns prod(size(A))
.
P. Roebuck proebuck@mdanderson.org
numel(2:9) # 8 numel(magic(4)) # 16
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.