n = ndims(M)
| Paramètre | Description |
|---|---|
| M | a variable |
| Paramètre | Description |
|---|---|
| n | 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 | version initiale |