www.gusucode.com > signal 工具箱matlab源码程序 > signal/@dfilt/@latticearma/latticearma.m
function Hd = latticearma(k,v) %LATTICEARMA Lattice Autoregressive Moving-Average. % Hd = DFILT.LATTICEARMA(K, V) constructs a Lattice autoregressive % moving-average (ARMA) discrete-time filter object Hd with lattice % coefficients K and ladder coefficients V. If K or V are not specified, % the defaults [] and 1. In this case, the filter passes the input % through to the output unchanged. % % Notice that the DSP System Toolbox, along with the Fixed-Point Designer, % enables fixed-point support. % % % EXAMPLE % [b,a] = butter(3,.5); % [k,v] = tf2latc(b,a); % Hd = dfilt.latticearma(k,v) % realizemdl(Hd); % Requires Simulink % % See also DFILT/STRUCTURES, TF2LATC % Copyright 1988-2012 The MathWorks, Inc. Hd = dfilt.latticearma; Hd.FilterStructure = 'Lattice Autoregressive Moving-Average (ARMA)'; if nargin>=1 Hd.Lattice = k; end if nargin>=2 Hd.Ladder = v; end