dfilt.calattice - Coupled-allpass, lattice filter

Syntax

hd = dfilt.calattice(k1,k2,beta)
hd = dfilt.calattice

Description

hd = dfilt.calattice(k1,k2,beta) returns a discrete-time, coupled-allpass, lattice filter object hd, which is two allpass, lattice filter structures coupled together. The lattice coefficients for each structure are vectors k1 and k2. Input argument beta is shown in the diagram below.

hd = dfilt.calattice returns a default, discrete-time coupled-allpass, lattice filter object, hd. The default values are k1 = k2 = [], which is the default value for dfilt.latticeallpass, and beta = 1. This filter passes the input through to the output unchanged.

Example

Specify a third-order lattice coupled-allpass filter structure for a dfilt filter, hd with the following code.

k1 = [0.9511 + 0.3088i; 0.7511 + 0.1158i]
k2 = 0.7502 - 0.1218i
beta = 0.1385 + 0.9904i
hd = dfilt.calattice(k1,k2,beta)

k1 =

   0.9511 + 0.3088i
   0.7511 + 0.1158i

k2 =

   0.7502 - 0.1218i

beta =

   0.1385 + 0.9904i

 hd =
 
         FilterStructure: 'Coupled-Allpass Lattice'
                Allpass1: [2x1 double]
                Allpass2: 0.7502- 0.1218i
                    Beta: 0.1385+ 0.9904i
        PersistentMemory: false
                  States: [3x1 double]

The Allpass1 and Allpass2 properties store vectors of coefficients.

hd.Allpass1

ans =

   0.9511 + 0.3088i
   0.7511 + 0.1158i

See Also

dfilt.calatticepc

dfilt, dfilt.latticeallpass, dfilt.latticear, dfilt.latticearma, dfilt.latticemamax, dfilt.latticemamin in Signal Processing Toolbox™ documentation

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS