www.gusucode.com > signal 工具箱matlab源码程序 > signal/@dfilt/@delay/delay.m
function this = delay(lat) %DELAY Integer delay. % Hd = DFILT.DELAY(D) constructs a discrete-time integer delay object % with a latency of D. % % % EXAMPLE % Hd = dfilt.delay(2) % % See also DFILT/STRUCTURES % Author(s): V. Pellissier % Copyright 2005 The MathWorks, Inc. this = dfilt.delay; this.filterquantizer = dfilt.filterquantizer; this.FilterStructure = 'Delay'; if nargin>=1 this.Latency = lat; end % [EOF]