# Documentation

### This is machine translation

Translated by
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

# 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

`$\left[\begin{array}{c}z\left(1\right)\\ z\left(2\right)\\ z\left(3\right)\end{array}\right]$`

## 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) ```

## See Also

#### Introduced before R2006a

Was this topic helpful?

#### Accelerate 5G Wireless Development with Hardware Testbeds

Download the white paper