es3_lab5_1

es3_lab5_1 - 10 2 Frequency Response of an Audio System...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
10 2 10 3 10 4 10 -4 10 -3 10 -2 10 -1 10 0 Frequency (Hz) Signal Intensity (arb.) Digital Filtering of Noise unfiltered filtered Part b- before modifying the file. Part 1 was es3.m and the plots are shown above on the left. es3notch.m: rate=44100; %Hz, the sampling rate for playback and recording 10 1 10 2 10 3 10 4 10 0 10 1 10 2 Test Frequency (Hz) Measured Sound Level (arb.) Frequency Response of an Audio System 10 1 10 2 10 3 10 4 10 -2 10 -1 10 0 10 1 10 2 Test Frequency (Hz) Frequency Response of an Audio System tone method noise method
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
%create the parameters needed for a notch filter notchfreq = 3000 %in Hertz, the center of the frequencies to be removed wo = notchfreq/(rate/2); %Don't mess with this! It tells the filter design routine the sampling frequency. bandwidth = 2*wo; %The bandwidth of the notch filter. bw = bandwidth*(rate/2) attenuate = -20 %in dB, the amount of signal removed at the (notchfreq +/- bandwidth) [b,a] = iirnotch(wo, bandwidth, attenuate);
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/27/2008 for the course ES 3 taught by Professor A during the Fall '08 term at Tufts.

Page1 / 3

es3_lab5_1 - 10 2 Frequency Response of an Audio System...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online