Question: Using MATLAB Code solve these questions. 1. The two variables loaded into the workspace are muxSignal and fs. The raw data stream of the music

Using MATLAB Code solve these questions.

1. The two variables loaded into the workspace are muxSignal and fs. The raw data stream of the music signals is stored in muxSignal while fs contains the sampling frequency. Determine the sampling period, store it inside the variable Ts and then use this to construct a time domain vector, t, that corresponds to muxSignal. Plot muxSignal against this time vector.

2. Compute the Fourier transform of muxSignal and store this in MUX. Also construct a suitable frequency vector, k, for MUX. Generate MUX fftshifted that is appropriate for plotting using suitable commands. Plot the magnitude spectrum of MUX.

3. The peaks in the magnitude spectrum give the precise locations of the frequency shifts. Identify the location of the peaks in the positive frequencies (you may use an inbuilt MATLAB function) and store them inside a row vector called fshift in ascending order. fshift values should be whole numbers, round to the nearest integer if necessary.

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!