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

Info icon This 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) Measured Sound Level (arb.) Frequency Response of an Audio System tone method noise method
Image of page 1

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

View Full Document Right 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); %fvtool(b,a); %un-comment this to see the filter's freq. resp Red = changed 10 2 10 3 10 4 10 -4 10 -3 10 -2 10 -1 10 0 Frequency (Hz) Signal Intensity (arb.)
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern