Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Single section or cascaded allpass filter

The `dsp.AllpassFilter`

object filters each channel of the input using
Allpass filter implementations. To import this object into Simulink^{®}, use the MATLAB^{®} System block.

Cell array support for `AllpassCoefficients`

,
`WDFCoefficients`

, and `LatticeCoefficients`

has
been removed. Use an *N*-by-1 or *N*-by-2 numeric array
instead. For more information, see Compatibility Considerations.

To filter each channel of the input:

Create the

`dsp.AllpassFilter`

object and set its properties.Call the object with arguments, as if it were a function.

To learn more about how System objects work, see What Are System Objects? (MATLAB).

`Allpass = dsp.AllpassFilter`

`Allpass = dsp.AllpassFilter(Name,Value)`

returns an
allpass filter System
object™, `Allpass`

= dsp.AllpassFilter`Allpass`

, that filters each channel of the input signal
independently using an allpass filter, with the default structure and coefficients.

returns an allpass filter System
object, `Allpass`

= dsp.AllpassFilter(`Name,Value`

)`Allpass`

, with each property set to the specified
value.

**For versions earlier than R2016b, use the step
function to run the System object algorithm. The arguments to
step are the object you created, followed by
the arguments shown in this section.**

**For example, y = step(obj,x) and y = obj(x) perform equivalent operations.**

`y = Allpass(x)`

To use an object function, specify the
System
object as the first input argument. For
example, to release system resources of a System
object named `obj`

, use
this syntax:

release(obj)

[1] Regalia, Philip A. and Mitra Sanjit K. and Vaidyanathan, P. P.
(1988) “The Digital All-Pass Filter: AVersatile Signal Processing Building
Block.” *Proceedings of the IEEE*, Vol. 76, No. 1, 1988, pp.
19–37

[2] M. Lutovac, D. Tosic, B. Evans, *Filter Design for
Signal Processing Using MATLAB and Mathematica.* Upper Saddle River, NJ: Prentice
Hall, 2001.