function f = dffir(varargin)
%DFFIR   Convert a DFILT object to a DFFIR object.
%   G = DFFIR(H) returns a DFFIR filter object G given
%   any DFILT FIR object H.
%
%   G = DFFIR(H,I) converts the I-th section of H to a
%   DFFIR filter object. The I-th section of H must be
%   an FIR filter.

%   Author(s): R. Losada
%   Copyright 1988-2000 The MathWorks, Inc.
%   $Revision: 1.3 $  $Date: 2000/05/17 15:53:32 $

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

[f,msg] = todffir('dffir',varargin{:});

error(msg);
