This preview shows page 1. Sign up to view the full content.
Unformatted text preview: figure(2) stem(freqs, abs(fftshift(xz))); title('FFT of (x with zero pading)') %% we have Used the rectangular of window w_rect=ones(1,N); stem(w_rect) freqz(w_rect) title('Frequency respones of rect window') %% Now, letss use a better window w_ham = hamming(N) y=x.* w_ham'; subplot(2,1,1), stem(x), subplot(2,1,1), stem(y), %% Zero pad windowed signal M=256; yz= zeros(1,M); yz(1:N)=y; freqs = [-1:2/M:(1-2/M); subplot...
View Full Document
This note was uploaded on 01/22/2011 for the course ECE 410 taught by Professor Staff during the Spring '08 term at University of Illinois, Urbana Champaign.
- Spring '08