Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a code in matlab to do the following: the audio file is a wav file that yo

ID: 3869370 • Letter: W

Question

Write a code in matlab to do the following:

the audio file is a wav file that you're adding the sinusoid to

PART2: High Frequency Noise and LPF

7. Create a unity TD sinusoid with a frequency of 12KHz and the number of samples equivalent to the number of samples in the audio file. 8. Play the sinusoid signal.

9. Add that sinusoid to your TD audio signal to create a noisy audio signal.

10. Play the combined signals.

11. Convert the combined signal into the FD. Plot the FD signal.

12. Create an ideal low pass filter (LPF) signal in FD. The function must allow all frequency components under 10KHz to pass and zero-out all frequency components above 10KHz.

13. Multiply the LPF with the audio signal in the FD. Take the inverse Fourier transform using the function IFFT.

14. Play the signal.

15. Take the IFFT of the LPF and plot it.

Explanation / Answer

A filter is a process that removes unwanted components from a signal. A low-pass filter is designed to let lower frequency components pass through and block higher frequency components in a signal. DSP System Toolbox™ provides multiple techniques to define a low-pass filter. In this example we design a Finite Impulse Response (FIR) filter of order 3.

Define the sampling frequency to be 1/60 of a second as the data in channel 12397 is uploaded once a minute. The filter is designed to allow all frequency components with a period less than 48 hours and block all components with a longer period

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote