11.07.2015 Views

Frequency Response of FIR Filters

Frequency Response of FIR Filters

Frequency Response of FIR Filters

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Sinusoidal <strong>Response</strong> <strong>of</strong> <strong>FIR</strong> Systems– We have used the inverse Euler formula for cosine twice• For this particular filter we have thatWhy?– = e j2ˆHe jˆ=He jˆ–e j2ˆe j2ˆe jˆ –+ + 3 + e jˆ+–e j2ˆ2cos2ˆ + 2cosˆ + 3 = 3 + 2cosˆ + 2cos2ˆHe jˆ=– 2ˆ• Use MATLAB to plot the magnitude and phase response>> w = 0:2*pi/200:2*pi;>> H = exp(-j*2*w).*(3 + 2*cos(w) + 2*cos(2*w));>> subplot(211)>> plot(w,abs(H))>> axis([0 2*pi 0 8])>> grid>> ylabel('Magnitude')>> subplot(212)>> plot(w,angle(H))>> axis([0 2*pi -pi pi])>> grid>> ylabel('Phase (rad)')ECE 2610 Signals and Systems 6–4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!