www.gusucode.com > signal 工具箱matlab源码程序 > signal/@dfilt/@cascadeallpass/dispatch.m
function Hd = dispatch(this) %DISPATCH Returns the LWDFILT. % Author(s): R. Losada % Copyright 2005 The MathWorks, Inc. if ~isempty(this.AllpassCoefficients), c = struct2cell(this.AllpassCoefficients); else c = []; end if isempty(c), H = dfilt.allpass; else for k = 1:length(c), H(k) = dfilt.allpass(c{k}); end end Hd = cascade(H); % [EOF]