Linear-Phase fir Transfer Functions Because of symmetry, we have h[o]h[8 h[l]=h7,h2]=h6],andh[3]=h[5 Thus we can write H(x)=h0](+3)+(x1+7) +和2](=2+6)+3(3+25)+414 z4{40(=4+4)+1(3+23) +和2(2+2-2)+h3(+21)+h4} Copyright C 2001, S K Mitra
Copyright © 2001, S. K. Mitra 6 Linear-Phase FIR Transfer Functions • Because of symmetry, we have h[0] = h[8], h[1] = h[7], h[2] = h[6], and h[3] = h[5] • Thus, we can write 8 1 7 H z h z h z z ( ) [0](1 ) [1]( ) − − − = + + + 2 6 3 5 4 2 3 4 − − − − − + h[ ](z + z ) + h[ ](z + z ) + h[ ]z { [ ]( ) [ ]( ) 4 4 4 3 3 0 1 − − − = z h z + z + h z + z [2]( ) [3]( ) [4]} 2 2 1 + h z + z + h z + z + h − −
Linear-Phase FIR Transfer Functions The corresponding frequency response is then given by H(e0)=e/+0{2h0cos(4o)+2h1]os(3o) +2h2]cos(20)+2h[3]cos(0)+h4 The quantity inside the braces is a real unction of 0, and can assume positive or negative values in the range0≤0)≤π Copyright C 2001, S K Mitra
Copyright © 2001, S. K. Mitra 7 Linear-Phase FIR Transfer Functions • The corresponding frequency response is then given by • The quantity inside the braces is a real function of w, and can assume positive or negative values in the range 0 w ( ) {2 [0]cos(4 ) 2 [1]cos(3 ) 4 = w + w w − w H e e h h j j + 2h[2]cos(2w) + 2h[3]cos(w) + h[4]}
Linear-Phase fir Transfer Functions The phase function here is given by 6(0)=-40+β whereβ is either0orπ, and hence, It is a linear function of o in the generalized sense The group delay is given by τ(0) de(o) 4 indicating a constant group delay of 4 samples 8 Copyright C 2001, S K Mitra
Copyright © 2001, S. K. Mitra 8 Linear-Phase FIR Transfer Functions • The phase function here is given by where b is either 0 or , and hence, it is a linear function of w in the generalized sense • The group delay is given by indicating a constant group delay of 4 samples (w) = −4w+b ( ) 4 ( ) w = − = w w d d
Linear-Phase FIR Transfer Functions In the general case for Type 1 FIR filters the frequency response is of the form H(e10)=e j/2 H(0) where the amplitude response h(o), also called the zero-phase response, is of the form N/2 H(0)=,]+2∑h少-n]cos(on Copyright C 2001, S K Mitra
Copyright © 2001, S. K. Mitra 9 Linear-Phase FIR Transfer Functions • In the general case for Type 1 FIR filters, the frequency response is of the form where the amplitude response , also called the zero-phase response, is of the form ( ) ( ) / 2 = w w − w H e e H j jN ~ H (w) ~ H (w) ~ = + − w = / 2 1 2 2 [ ] 2 [ ]cos( ) N n N N h h n n
Linear-Phase FR Transfer Functions Example -Consider H10()=[+z1+z2+z3+z4+x5+l=6 which is seen to be a slightly modified version of a length-7 moving-average FiR filter The above transfer function has a symmetric impulse response and therefore a linear phase response 10 Copyright C 2001, S K Mitra
Copyright © 2001, S. K. Mitra 10 Linear-Phase FIR Transfer Functions • Example - Consider which is seen to be a slightly modified version of a length-7 moving-average FIR filter • The above transfer function has a symmetric impulse response and therefore a linear phase response ( ) [ ] 6 2 1 2 3 4 5 1 2 1 6 1 0 − − − − − − H z = + z + z + z + z + z + z