David
Farruggio

MathGenie

length

Length of largest array dimension

Syntax and Description

length(X) returns the length of the largest array dimension in X. For vectors, the length is simply the number of elements. For arrays with more dimensions, the length is max(size(X)).

Back to functions