function mbvector(a)
%MBVECTOR Must be vector.
%   The statement
%
%       mbvector(x)
%
%   asserts that, at that point in the computation, the variable x has
%   size m-by-1 or 1-by-n.  If this assertion is false, an error occurs;
%   if this assertion is true, the computation proceeds.
%
%   See also MBINT, MBINTSCALAR, MBINTVECTOR, MBREAL, MBREALSCALAR, 
%            MBREALVECTOR, MBSCALAR.

% $Revision: 1.9 $  $Date: 1998/12/17 19:07:28 $
% Copyright (c) 1984-1998 by The MathWorks, Inc.

% We are allowing "a" to be a 0x0 empty here for backward
% compatibility with previous revisions of mbvector.
if ndims(a) > 2 | (size(a, 1) > 1 & size(a, 2) > 1)
    error( 'Argument to mbvector must be a vector.' );
end
