Q2) If the impulse response ℎ[] of an FIR filter is
ℎ[] = [ − 1] − 2[ − 4]
a) (10 pt) Write the difference equation for the FIR filter.
b) (10 pt) Obtain the impulse response of the system by using difference equation which you get in the previous step in MATLAB. Plot impulse response of the system, ℎ[] and compare with the result in (a).