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

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.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!