function [varargout] = length(varargin)
%LENGTH   Length of vector.
%   LENGTH(X) returns the length of vector X.  It is equivalent
%   to MAX(SIZE(X)) for non-empty arrays and 0 for empty ones.
%  
%   See also NUMEL.

%   Copyright 1984-2004 The MathWorks, Inc.
%   $Revision: 5.9.4.3 $  $Date: 2004/12/06 16:34:09 $
%   Built-in function.

if nargout == 0
  builtin('length', varargin{:});
else
  [varargout{1:nargout}] = builtin('length', varargin{:});
end
