Main Content

dfilt.latticemamax

Discrete-time, lattice, moving-average filter

Syntax

Hd = dfilt.latticemamax(k)
Hd = dfilt.latticemamax

Description

Hd = dfilt.latticemamax(k) returns a discrete-time, lattice, moving-average filter, Hd, with lattice coefficients k.

Note

If the k coefficients define a maximum phase filter, the resulting filter in this structure is maximum phase. If your coefficients do not define a maximum phase filter, placing them in this structure does not produce a maximum phase filter.

Hd = dfilt.latticemamax returns a default discrete-time, lattice, moving-average filter, Hd, with k=[ ]. This filter passes the input through to the output unchanged.

The resulting filter states column vector is

[z(1)z(2)z(3)]

Examples

Form a fourth-order lattice, moving-average, maximum phase filter structure for a dfilt object, Hd, using the following lattice coefficients:

k = [.66 .7 .44 .33];
Hd = dfilt.latticemamax(k)

Version History

Introduced before R2006a