2 \subsection{FIR Filter}
5 \frametitle{Example: FIR Filter}
7 \item FIR Filters, and digital filters in general are essential components in radio's, receivers, and cellphones.
8 \item Equation for a FIR Filter: \\
10 y_t = \sum\nolimits_{i = 0}^{n - 1} {x_{t - i} \cdot h_i }
16 \frametitle{FIR Filter}
18 y_t = \sum\nolimits_{i = 0}^{n - 1} {x_{t - i} \cdot h_i }
22 \input{christiaan/dotproduct}
25 \frametitle{FIR Filter}
27 y_t = \sum\nolimits_{i = 0}^{n - 1} {x_{t - i} \cdot h_i }
30 fir (State pxs) x = (pxs**hs, State (pxs<++x))
31 where hs = $(vectorTH [2::Int16,3,-2,4])
33 \centerline{\begin{tabular}{rl}
34 |pxs| & Previous x's (state)\\
35 |x| & New input value\\
36 |pxs <++ x| & Remember new |x|, remove oldest\\
43 \frametitle{FIR Filter}
44 \centerline{\Huge{Demo}}
48 \frametitle{Synthesized Output}
51 \centerline{\includegraphics[width=\paperwidth,trim=9mm 14cm 14mm 16cm, clip=true]{fir0.png}}
56 \frametitle{Synthesized Output}
59 \centerline{\includegraphics[width=\paperwidth,trim=9mm 15cm 16.5cm 11cm, clip=true]{fir1.png}}
64 \frametitle{Synthesized Output}
67 \centerline{\includegraphics[width=\paperwidth,trim=3cm 13cm 4cm 11cm, clip=true]{fir2.png}}