[TOC]

length

Length along the longest array dimension

Usage

length(A)

Example

Input
a = ones(3,4,7,1,9);
length(a)
Output
ans =
9.000