Back to Core Functions
numel
Number of array elements
Syntax
n = numel(A)
Description
Returns the total number of elements in the array.
Parameters
| Name | Description |
|---|---|
| A | Input array |
Returns
Scalar count
Number of array elements
n = numel(A)
Returns the total number of elements in the array.
| Name | Description |
|---|---|
| A | Input array |
Scalar count