2. The comb filter can be expresses as y[n]=x[n]+x[n-a-b] Find the transfer function and zeros, compute the magnitude response of this filter using MATLAB.
Let a=8,b=7
-1.0000 + 0.0000i
-0.9135 + 0.4067i
-0.9135 - 0.4067i
-0.6691 + 0.7431i
-0.6691 - 0.7431i
-0.3090 + 0.9511i
-0.3090 - 0.9511i
0.1045 + 0.9945i
0.1045 - 0.9945i
0.5000 + 0.8660i
0.5000 - 0.8660i
0.9781 + 0.2079i
0.9781 - 0.2079i
0.8090 + 0.5878i
0.8090 - 0.5878i
Matlab Script:
w = -pi:0.01*pi:pi;
Hejw = 1+exp(-15i*w);
plot(w,abs(Hejw));
output:
Get Answers For Free
Most questions answered within 1 hours.