function [varargout] = and(varargin)
%&  Logical AND.
%   A & B performs a logical AND of arrays A and B and returns an array
%   containing elements set to either logical 1 (TRUE) or logical 0
%   (FALSE).  An element of the output array is set to 1 if both input
%   arrays contain a non-zero element at that same array location.
%   Otherwise, that element is set to 0.  A and B must have the same 
%   dimensions unless one is a scalar.  
%
%   C = AND(A,B) is called for the syntax 'A & B' when A or B is an
%   object.
%
%   Note that there are two logical AND operators in MATLAB.  The &
%   operator performs an element-by-element AND between matrices, while 
%   the && operator performs a short-circuit AND between scalar values.
%   These operations are explained in the MATLAB Programming documentation 
%   on logical operators, under the topic of Basic Program Components.
%
%   See also RELOP, OR, XOR, NOT.

%   Copyright 1984-2003 The MathWorks, Inc.
%   $Revision: 1.10.4.3 $  $Date: 2004/12/24 20:46:21 $

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