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

Normal 1No Spac....Heading1 Heading 2 Title Subtitle Subtle Em... Emphasis Inten

ID: 2291390 • Letter: N

Question

Normal 1No Spac....Heading1 Heading 2 Title Subtitle Subtle Em... Emphasis Intense E. Strong Styles Write a Matlab code to plot an FM signal with fc-1 Hz and message signal m(t)-10t. Use a sampling frequency of 10000Hz and plot the signal over a range t from 0 to 3 seconds. Obtain two plots of the FM signal: (turn in your code with comments and plots) a) The first plot using the closed form expression obtained by integrating m() [10 points] b) The second plot where you will use "cumsum" to numerically integrate m(t) [You will use the sampling frequency of 10000Hz here] [15 points c) Write down the mathematical expression for the FM signal and the instantaneous frequency. From the plots, observe and note the maximum and minimum instantaneous frequencies. You can look at the plot and approximate the maximum frequency as the inverse of the period of the last cycle. Compare these to the mathematical values of the maximum and minimum frequencies that can be obtained from the instantaneous frequency de. 15 points) dt

Explanation / Answer

clc;
clear all;
close all;

t = 0:(1/10000):3;
message_t = 10*t;
figure(1)
plot(t,message_t) %plot for message signal
xlabel('time');
ylabel('message signal');

figure(2)
integ_message_t= cumsum(message_t)*0.0001;
plot(t,integ_message_t)
xlabel('time');
ylabel('integrating message signal');

figure(3)
S_FM= cos (2*pi+2*pi*integ_message_t) % Fc=1 Hz and Kf=1
plot(t,S_FM) %plot for FM signal
xlabel('time');
ylabel('frequency modulated signal');

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