This preview shows page 1. Sign up to view the full content.
Unformatted text preview: %% Filtering for signal load handel sound(y, Fs) h1 = fir1(30, 0.5, 'low') % lowpass filter with cut-off frequency pi/2 figure, freqz(h1); y1 = conv(y, h1); sound(y1, Fs); h2 = fir1(30, 0.5, 'high') % highpass filter with cut-off frequency pi/2 figure, freqz(h2); y2 = conv(y, h2); sound(y2, Fs);...
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