ndims
Number of dimensions of an array.
Syntax
n = ndims(M)
Input argument
M - a variable
Output argument
n - a integer value: Number of dimensions of M.
Description
n = ndims(M) return the number of dimension of the array M.
M is greater than or equal to 2.
Example
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated