function f = df2(varargin)
%DF2   Convert a DFILT object to a DF2 object.
%   G = DF2(H) returns a DF2 filter object G given
%   any DFILT object H.
%
%   G = DF2(H,I) converts the I-th section of H to a
%   DF2 filter object.

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

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

[f,msg] = todtf('df2',varargin{:});

error(msg);
