function ismaxphaseflag = ismaxphase(f,sec)
%ISMAXPHASE  Determine if filter object has maximum-phase sections.
%   FLAG = ISMAXPHASE(F) determines if the filter object F has
%   maximum-phase filter sections, and returns 1 if true and 0 if
%   false.
%
%   FLAG = ISMAXPHASE(F,I) determines if the I-th section of the
%   filter object F is a maximum-phase section and returns 1 if true
%   and 0 if false.
%
%   Since LATCMAX filter objects always have maximum-phase sections,
%   this function always returns one.
%
%   See also DFILT/ISMAXPHASE, DFILT/ISMINPHASE, LATCMA/ISMINPHASE.

%   Author(s): R. Losada
%   Copyright 1988-2000 The MathWorks, Inc.
%   $Revision: 1.2 $  $Date: 2000/06/13 21:22:21 $ 

error(nargchk(1,2,nargin));

ismaxphaseflag = 1;   
    
