www.gusucode.com > signal 工具箱matlab源码程序 > signal/@filtdes/@iirpeak/design.m
function Hd = design(h, d) %DESIGN % Author(s): J. Schickler % Copyright 1988-2003 The MathWorks, Inc. % Make sure we have the magnitude units in dB. mu = get(d, 'MagUnits'); set(d, 'MagUnits', 'dB'); apass = get(d, 'Apass'); set(d, 'MagUnits', mu); [b, a] = iircomb(get(d, 'Order'), getbandwidth(d), apass, 'peak'); Hd = dfilt.df2(b, a); % [EOF]