# Determine the type of filter from the transfer function

i got that system $x_n \to x_n-x_{n-1}$, so $h_n=[.....,0,1,-1,0,...]$, with $h_0=1$ and $h_1=-1$, so the transfer function given by:

$$\sum_{i=-\infty}^{\infty} h_ne^{-jwn} = h_0e^{-jw(0)}+h_1e^{-jw(1)}=1-e^{-jw}$$. How to knwo the type of filter, if it is HPF, LPF, etc.

• Posted simultaneously to electronics.SE (and possibly to other SE sites also) where it has received two answers as well as several comments. – Dilip Sarwate Apr 3 '13 at 23:01