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

Communication systems are often subject to interference from a variety of source

ID: 2988277 • Letter: C

Question

Communication systems are often subject to interference from a variety of sources. In this project, you will use MATLAB to read a wav file, simulate the effect of narrowband interference and process the distorted signal to recover the original signal. You should write a MATLAB program that performs the following function.
Simulate the effect of interference. We will model the interference as being composed of 10 cosinusoid functions at frequencies 4500,4550,..,4950 Hz whose amplitudes are all Gaussian random variables with zero mean and variance 1/10. Play this through the speakers and observe that you can see the effect of interference. Plot the magnitude of the Fourier transform of the speech file with interference. You should see that the interference is dominant.

This is the code we have so far, it doesn't work. If someone could fix it, it would be great:

Explanation / Answer

never mind, i found the error.

In line 14 you have missed the upward comma (transpose operator) .

it should be
[DistAmp(n)*cos(2*pi*DistFreq(n)*t)]' (see one ' in the end )

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