Filter Structure - Part 1: (Chapter 7 - Mitra's Textbook)
Filter Structure - Part 1: (Chapter 7 - Mitra's Textbook)
Main Contents
Lesson 1: Linear-Phase Filter
Lesson 2: Properties of Linear-Phase Filter
Lesson 3: Matlab Implementation
Lesson 4: Minimum Phase Filter
jw
x(n)
H (e )
Y (e ) = X (e ) H (e ) = X ( e ) H (e ) e
jw
jw
jw
jw
jw
jH (
jw
H (e ) = e
jDw
H (e jw ) = 1
( w) = D
1
.
e
0 < w < wc
jw
H (e ) =
wc < w <
0
sin wc (n no )
hLP [n] =
wc (n no )
n
Truncation
n
sin wc (n N / 2)
hLP [n] =
0n N
wc (n N / 2)
which is IR of causal linear-phase FIR filter with a length of
N+1
jw
jwn
jwN / 2 ~
H LP (e ) = hLP [n]e
=e
H LP ( w)
n =0
Main Contents
Lesson 1: Linear-Phase Filter
Lesson 2: Properties of Linear-Phase Filter
Lesson 3: Matlab Implementation
Lesson 4: Minimum Phase Filter
=
h(n): M points
h(n-(M-1)/2): M points
--> Shift
right
(M-1)/2
-(M-1)/2
(M-1)/2
h(n): M points
H (e jw ), real,
M-1
h(n-(M-1)/2): M points
--> Shift
right
(M-1)/2
-(M-1)/2
M 1
2
(M-1)/2
M-1
H (e jw )e
M 1
j
w
2
# M "1
!H (e ) = ! " " w = "
w, " # < w # #
2
2
For anti-symmetric impulse response: filter length M
can be odd (type III) or even (type IV).
jw
H (e jw ), real, H (e jw )e
M 1
j
w
2
h( n) = h( M 1 n)
n
Frequency Response
n
n
n
jw
H (e ) = H r (e )e
j ( w )
M 1
; = , =
2
2
Example 7.3
jw( M 1) / 2
jw
H (e ) = a(n) cos wn e
n =0
M 1
a (0) = h
: the middle sample
2
M 3
M 1
a (n) = 2h
n , 1 n
2
2
H r ( w) =
n
Problem 7.1
( M 1) / 2
a(n) cos wn
n =0
1 jw( M 1) / 2
jw
H (e ) = b(n) cosw n e
2
n=1
M
M
b(n) = 2h n , n = 1,2,,
2
2
M /2
1
H r ( w) = b(n) cosw n
2
n =1
n
Problem 7.2
j [2 ( M21 )w]
jw
H (e ) = c(n) sin wn e
n =0
M 1
M 1
c(n) = 2h
n , n = 1,2,,
2
2
H r ( w) =
( M 1) / 2
c(n) sin wn
n =0
Problem 7.3
1 j [2 w( M 1) / 2 ]
jw
H (e ) = d (n) sin w n e
2
n=1
M
M
d (n) = 2h n , n = 1,2, ,
2
2
M /2
1
H r ( w) = d (n) sin w n
2
n =1
Problem 7.4
Main Contents
Lesson 1: Linear-Phase Filter
Lesson 2: Properties of Linear-Phase Filter
Lesson 3: Matlab Implementation
Lesson 4: Minimum Phase Filter
Matlab Implementation
n
Hr-type 1
Hr-type 2
Hr-type 3
Hr-type 4
1/Conj
(Z1)
Imaginary Part
0.5
Z1
0
-0.5
Conj(Z1)
-1
1/z1
-1.5
-2
Ex 7.4 7.7
-1.5
-1
-0.5
0
Real Part
0.5
1.5
Example 7.4
Example 7.5
Example 7.6
Example 7.7
Main Contents
Lesson 1: Linear-Phase Filter
Lesson 2: Properties of Linear-Phase Filter
Lesson 3: Matlab Implementation
Lesson 4: Minimum Phase Filter
2( z + 0.5)( z 0.5)
,
2
( z 0.5) + 0.25
( z + 2)( z 0.5)
H10 ( z ) =
,
2
( z 0.5) + 0.25
( z + 0.5)( z 2)
H 01 ( z ) =
,
2
( z 0.5) + 0.25
0.5( z + 2)( z 2)
H11 ( z ) =
.
2
( z 0.5) + 0.25
H 00 ( z ) =
2
0
Minimum-Phase Decomposition
n
n
b( z ) = b0 ( z z1 )(z z2 )( z zm )
n
For i=1 to m do
{
If |zi|>1 then compute
z z +1
F ( z) = i
z zi
H min ( z ) = F ( z ) H min ( z )
}
H all ( z ) = F 1 ( z ) H all ( z )