| Filter Design Toolbox™ | ![]() |
hd = dfilt.calatticepc(k1,k2)
hd = dfilt.calatticepc
hd = dfilt.calatticepc(k1,k2) returns a discrete-time, coupled-allpass, lattice filter object hd, with power-complementary output. This object is two allpass lattice filter structures coupled together to produce complementary output. The lattice coefficients for each structure are vectors, k1 and k2, respectively. beta is shown in the following diagram.
hd = dfilt.calatticepc returns a default, discrete-time, coupled-allpass, lattice filter object hd, with power-complementary output. The default values are k1 = k2 = [], which is the default value for the dfilt.latticeallpass. The default for beta = 1. This filter passes the input through to the output unchanged.

Specify a third-order lattice coupled-allpass power complementary filter structure for a filter hd with the following code. You see from the returned properties that Allpass1 and Allpass2 contain vectors of coefficients for the constituent filters.
k1 = [0.9511 + 0.3088i; 0.7511 + 0.1158i]
k2 = 0.7502 - 0.1218i
beta = 0.1385 + 0.9904i
hd = dfilt.calatticepc(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, Power
Complementary Output'
Allpass1: [2x1 double]
Allpass2: 0.7502- 0.1218i
Beta: 0.1385+ 0.9904i
PersistentMemory: false
States: [3x1 double]To see the coefficients for Allpass1, check the property values.
get(hd,'Allpass1') ans = 0.9511 + 0.3088i 0.7511 + 0.1158i
dfilt, dfilt.latticeallpass, dfilt.latticear, dfilt.latticearma, dfilt.latticemamax, dfilt.latticemamin in Signal Processing Toolbox™ documentation
![]() | dfilt.calattice | dfilt.cascade | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |