www.gusucode.com > signal 工具箱matlab源码程序 > signal/@filtdes/@firlsbppassstop/design.m

    function Hd = design(h,d)
%DESIGN  Method to design the filter given the specs.

%   Author(s): R. Losada, J. Schickler
%   Copyright 1988-2002 The MathWorks, Inc.

args = getarguments(h, d);

b = firls(get(d, 'order'), args{:});

% Construct object
Hd = dfilt.dffir(b);

% [EOF]