ndims
Number of array dimensions
Syntax
N = ndims (A)
Description
Examples
Input Arguments
Algorithms
The number of dimensions in an array is the same as the length of the size vector of the array. In other words,ndims(A) = length(size(A))
.
Extended Capabilities
Introduced before R2006a
Was this topic helpful?