David
Farruggio

MathGenie

numel

Generate Number of array elements

Syntax and Description

numel(A) returns the number of elements, n, in array A, equivalent to prod(size(A)).

Back to functions