(Solved): please comment to explain sections of the matlab code for better understanding please OBJECTIVE: In ...
please comment to explain sections of the matlab code for better understanding please
OBJECTIVE: In this project, you are going to study and plot an FM modulated signal and various waveforms at the demodulator as shown below along with the corresponding magnitude spectra. SPECIFICATIONS: The message signal to be used is: m(t)= triangl ((t?0.05)/0.05)-triangl ((t?0.15)/.05) where the triangl. m function is defined in page 70 of the textbook. FM Carrier frequency fc?=100Hz For FFT: use T0=1 s, number of samples N0=2048 The following scheme should be assumed for FM demodulation: The rectifier blocks all negative samples and passes the positive samples. The low-pass filter (LPF) has a bandwidth equal to the bandwidth of the message signal m(t). You need to choose appropriate parameters of the filter in MATLAB. TASKS: Write a MATLAB program that calculates and generates the following plots: [1] Plot-1: (a) The message signal m(t) (use x-axis limits [0,0.25] ) (b) The frequency modulated signal s(t) using kf?=40. Use the same axis limits as above. (c) The magnitude spectra of m(t) and s(t) [2] Plot-2: Repeat all parts of [1] from above using kf?=60 and explain the differences [3] Plot-3: For the frequency modulated signal s(t) using kf?=40, plot (a) The FM derivative signal x(t) and the rectified FM derivative signal y(t) (b) The demodulated signal md?(t) and the magnitude spectrum of md?(t) [4] Plot-4: Repeat part [3] above using kf?=60 and explain the differences.