11.07.2015 Views

Frequency Response of FIR Filters

Frequency Response of FIR Filters

Frequency Response of FIR Filters

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Steady-State and Transient <strong>Response</strong>>> n = -5:20;>> x = (10 + 4*cos(pi/4*n+pi/8) + ...3*cos(pi/3*n-pi/4)).*ustep(n,0);>> y = filter([1 -1 1],1,x);>> subplot(211)>> stem(n,x,'filled')>> grid>> ylabel('x[n]')>> subplot(212)>> stem(n,y,'filled')>> holdCurrent plot released>> stem(n,y,'filled')>> grid>> ylabel('y[n]')>> xlabel('Sample Index n')2015x[n]1050−5 0 5 10 15 202015TransientIntervaly[n]1050Steady-state−5−5 0 5 10 15 20Sample Index nECE 2610 Signals and Systems 6–12

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

Saved successfully!

Ooh no, something went wrong!