Length

Parent Previous Next

Length


Total number of elements of array



Syntax


length(x)

x is scalar or matrix

Return total number of elements in x


Examples


Input

Output

length([2, 5 , -2 + i, 0])

length([2, 0, 5; i, 3, -0.2])


See Also


Created with the Personal Edition of HelpNDoc: Easy EPub and documentation editor