You are to design and FIR filter where the filter coefficients are the following numbers: 3323939
Therefore, the difference equation is as follows:
![304_Implementing FIR filter.png](https://www.mywordsolution.com/CMSImages/304_Implementing%20FIR%20filter.png)
And here is the impulse response of this FIR filter.
![2239_Implementing FIR filter1.png](https://www.mywordsolution.com/CMSImages/2239_Implementing%20FIR%20filter1.png)
The z-transform of this FIR filter will be:
![574_Implementing FIR filter2.png](https://www.mywordsolution.com/CMSImages/574_Implementing%20FIR%20filter2.png)
Use Matlab to find the roots of this FIR filter and use zplane() function to plot the location of poles and zeros. Also, use MATLAB to plot the frequency and phase response of this FIR filter using freqz() function.
I've answered this as you see below; please correct me if I'm wrong (you should have the matlab file that I've uploaded to you).
The roots of the FIR filter are as follows:
r =
-1.2278 + 0.7715i
-1.2278 - 0.7715i
0.8300 + 0.9374i
0.8300 - 0.9374i
-0.1022 + 0.9485i
-0.1022 - 0.9485i
Using zplane() function, the location of poles and zeros are as follows:
![1669_Implementing FIR filter3.png](https://www.mywordsolution.com/CMSImages/1669_Implementing%20FIR%20filter3.png)
The frequency response and phase response of the FIR filter are
![840_Implementing FIR filter4.png](https://www.mywordsolution.com/CMSImages/840_Implementing%20FIR%20filter4.png)
The following questions are the most important ones for me; answering them correctly is important.
Discussion:
1. What does the pole-zero (z-plane) diagram tells you about the filter?
2. Is the filter stable or unstable?
3. What can you tell about the filter from its frequency and phase response? Discuss how the filter would respond to different input signal frequencies (does it null out certain frequencies? Does it act as lowpass or highpass filter? Is it none of the above?).