










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











2
2
Halfband
Halfband condition:condition:
ω
ω ) + P(
ω
ω
π
π ) = 2
Also want P(
Also want P( ω
ω ) to be
) to be lowpasslowpass
and p[n] to be symmetric.
and p[n] to be symmetric.
Design a polynomial, P(y), of degree 2p
Design a polynomial, P(y), of degree 2p -- 1, such that1, such that
(
( l
l )
)
l
l = 1, 2,
= 1, 2, ……, p, p -- 1 1
(
( l
l )
)
l
l = 0, 1,
= 0, 1, ……, p, p -- 1 1
π
ω 0
2
P (ω)
P (ω+π)
1
y 0
2
P(y)
~
4
4
(1 –– y)y)
-1 1
y
y
k
k
(1 –– y)y)
k = 0
k = 0
k = 0 k = 0
kk
y|
y
Then
Then
P(y) = 2(
P(y) = 2(1 –– y)y)
pp
[(1--y)y)
pp
= 2 + O(yO(y
pp
y
y
kk
p + k
p + k ––1 1
5
5
p + k
p + k -- 1 1
k
k
y
y
k
k
1 -- ee
i
i ω
ω
1 –– ee
-i-iωω
1 –– coscos ω
ω
p-p-1 1
k=0k=
Thus
Thus
((ll))
l
l = 1, 2,
= 1, 2, …… , p, p--1 1
So we have
So we have
P(y) = 2 (
P(y) = 2 (1--y)y)
pp
Now let
Now let
y = maintains
y = maintains symmetrysymmetry
ThusThus
ω
ω ) = P
1 – 1 – coscos ωω
1 + cos1 + cos ωω
pp -- 1 1
k = 0
k = 0
p + k + 1p + k + 1
k
k
1 – 1 – coscos ωω
k
k
pp
7
7
Work with derivative of P(y):
Work with derivative of P(y):
P´´(y) =(y) =
pp--1 1
(1 ––y)y)
p-p-1 1
So
So
P(y) = 2
P(y) = 2 -- CC´´ ∫
y
y
p-p-1 1
(1--y)y)
p-p-1 1
d y (P(0) = 2)
d y (P(0) = 2)
Then
Then
ω
ω ) = 2
y
y
0
0
1 + coscos ω
ω
pp--1 1
1 –– coscos ω
ω
p
p--1 1
sin
sin ω
ω
d
d ω
ω
ω ω
00
1 –– coscos
22
ω
ω
pp--1 1
sin
sin ω
ω
d
d ω
ω
ω
ω
00
i.e. P(
i.e. P( ω
ω ) = 2
sin
sin
2p-2p-1 1
ω
ω d
d ω
ω
ω ω
0
0
8
8
Recall the
Recall the halfbandhalfband condition for orthogonal filters:condition for orthogonal filters:
z domain:
z domain:
0
0
(z) H
(z) H
0
0
(z
(z
-1 1
0
0
(--z) Hz) H
0
0
(--zz
-1 1
Frequency domain:
Frequency domain:
0
0
ω
ω )
2
2
0
0
ω
ω
π
π )
2
2
The product filter for the orthogonal case is
The product filter for the orthogonal case is
P(z) = H
P(z) = H
0
0
(z) H
(z) H
0
0
(z
(z
-1- 1
ω
ω ) =
0
0
ω
ω )
2
2
ω
ω )
p[n] = h
p[n] = h
00
[n]
[n] ∗
h
h
00
[--n]n] ⇒
p[n] = p[
p[n] = p[--n]n]
The spectral factorization problem is the problem
The spectral factorization problem is the problem
of finding H
of finding H
0
0
(z) once P(z) is known.
(z) once P(z) is known.
10
10
Im
Im
Im
Im
z
z
00
z
z
0
0
1 Re
Re
Re
Re
1/z
1/z
00
z
z
0
0
z
z
0
0
z
z
0
0
Complex zeros
Complex zeros Real zeros
Real zeros
If the zero z
If the zero z
00
is grouped into the spectral factor H
is grouped into the spectral factor H
00
(z),
(z),
then the zero 1/z
then the zero 1/z
00
must be grouped into H
must be grouped into H
00
(z
(z
-1 1
h
h
00
[n] cannot be symmetric.
[n] cannot be symmetric.
11
11
Daubechies
Daubechies’ choice: Choose H’ choice: Choose H
0
0
(z) such that
(z) such that
(i)
(i) all its zeros are inside or on the unit circle.
all its zeros are inside or on the unit circle.
(ii)
(ii) it is causal.it is causal.
i.e. H
i.e. H
00
(z) is a minimum phase filter.
(z) is a minimum phase filter.
Example:
Example:
P(z)
P(z)
00
(z)
(z)
(Minimum phase)
(Minimum phase)
00
(z
(z
-1 1
(Maximum phase)
(Maximum phase)
13
13
Then use logarithms to change multiplication into
Then use logarithms to change multiplication into
addition:
addition:
Q(z) = R(z)
Q(z) = R(z)
R(zz
-1 1
ln
Q(z) = ln
ln R(z)
R(z) + ln
ln R(zR(z
-1- 1
Q(z)
Q(z) R(z)
R(z)
R(z
R(z
-1- 1
Take inverse z transforms:
Take inverse z transforms:
q[n] = r[n] + r[
q[n] = r[n] + r[--n]n]
Complex
Complex cepstrumcepstrum
of q[n]
of q[n]
14
14
Example:
Example:
X
X
XX
X X
X
X
R(z) has all its zeros and all its poles inside the unit
R(z) has all its zeros and all its poles inside the unit
circle, so R(z) has all its singularities inside the unit
circle, so R(z) has all its singularities inside the unit
circle. (
circle. (ln0 =ln0 =
, lnln ∞
R(z)
R(z)
R(z) =
R(z) = lnln R(z)R(z)
16
16
Algorithm:
Algorithm:
Given the coefficients q[n] of the polynomial Q(z):
Given the coefficients q[n] of the polynomial Q(z):
i.
i. Compute the M
Compute the M--point DFT of q[n] for apoint DFT of q[n] for a
sufficiently large M.
sufficiently large M.
Q[k] =
Q[k] = ∑
q[n]e
q[n]e ; 0
k
k < M< M
ii.
ii. Take the logarithm.
Take the logarithm.
Q[k] =
Q[k] = lnln (Q[k])(Q[k])
iii.
iii. Determine the complexDetermine the complex cepstrumcepstrum of q[n] byof q[n] by
computing the IDFT.
computing the IDFT.
q[n]
Q[k]
Q[k] ee
ii
nn
1
1
MM
MM
2
2 π
π
nk
nk
MM -- 1 1
k = 0 k = 0
-i-i
MM
2
2 π
π kn
kn
17
17
iv.
iv. Find the causal part of q[n].Find the causal part of q[n].
v.
v. Determine the DFT of r[n] by computing the
Determine the DFT of r[n] by computing the
exponent of the DFT of r[n].
exponent of the DFT of r[n].
R[k] = exp (R[k]) = exp (
R[k] = exp (R[k]) = exp ( ∑
r[n]e
r[n]e
k
k < M< M
r[n] =
r[n] =
½ q[0] ; n = 0
q[0] ; n = 0
q[n] ; n > 0
q[n] ; n > 0
0 ; n < 0
0 ; n < 0
M- M-1 1
k = 0
k = 0
M
M
22 ππ