# FIR Filter - Transfer Function

I am dealing with the transfer function of an FIR filter:

$$H(z) = (1-0.5z^{-1})(1-2z^{-1})$$

I am having trouble determining which type of Linear-phase FIR filter it is, Type 1-4. I believe it may be Type 2, but not certain.

Also I need to determine the frequency response of the filter. Is it just as simple as replacing the $z^{-1}$ terms with $e^{-j\omega}$ in order to get the frequency response? If so this results in frequency response of

$$H(e^{j\omega})=e^{-j\omega}(-2.5 + 2\cos(\omega))$$

And I am not sure how to take the magnitude or phase of that frequency response, any help would be greatly appreciated.

• First you shall obtain the impulse response h[n] of the filter. Then check for the conditions of those types I-IV. Finally finding the frequency response of stable LTI systems, you can replace $z$ with $e^{j\omega}$. So proceed accordingly and be more specific on which part you have the problem. – Fat32 May 2 '17 at 11:07

1. Just multiply the terms to get $H(z)$ in the form $$H(z)=h+hz^{-1}+hz^{-2}$$ If you know the four types then you should immediately see which type it is.