7. Determine the output y[n] of a FIR filter for the input x[n] given in the table below, given
that the filter coefficients $b_k = \{3, -1, 2, 1\}$
$n$
$n<0$
$0$
$1$
$2$
$3$
$4$
$5$
$x[n]$
$0$
$1$
$2$
$1$
$-1$
$3$
$4$
8. Determine the output y[n] of an IIR filter for the input x[n] of problem 7, given that the
filter feed-forward coefficients $b_k = \{3, -1, 2, 1\}$ and the feedback coefficients
$a_l = \{1, -1, 1\}$. Assume that y[n] = 0 for n<0.