length

Purpose

Length of vector.

Synopsis

n = length(x)

Description

length(x) is the length of vector x. It is equivalent to max(size(x)).

See Also

size

(c) Copyright 1994 by The MathWorks, Inc.