Main Content
ndims
Number of array dimensions
Syntax
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
Version History
Introduced before R2006a