<< ndgrid | Elementary functions | nextpow2 >> |
n = ndims(M) |
a variable
a integer value: Number of dimensions of M.
n = ndims(M) return the number of dimension of the array M.
M is greater than or equal to 2.
ndims(ones(3, 0))
ndims(3)
ndims([1 2 3 4 5])
ndims(ones(3, 4, 5))
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET