Generate sinusoidal message signal mt with frequency 4hz and
Generate sinusoidal message signal m(t) with frequency 4hz and modulate it with carrier signal c(t) of frequency of 40hz.
Please Help. Attached is the image bellow. MATLAB has to be used so I would appreciate if the code used is given as well. Thanks!!!!!
Purpose of the Lab: Generate sinusoidal message signal m() with frequency 4hz and modulate it with carrier signal c(t) of frequency of 40hz. 1. Create a vector \'t (tim that varies from 0 to 400 cycles with an interval t400 2. Create a message signal with single sine frequency. All the frequency used in message signal should be less than the carrier frequency likewise amplitude of message signals should be less than carrier amplitude. 3. Create a message signal [AmSin(2pfmt)] 4. Create a carrier signal [AcCos(2pfct) 5. Create the modulated signal using the FM equation [Ac Cos(2pfct+BSin 2pfimt). B stands for modulation index. Choose value more than 1 5. Plot the FM signal. .In FM signals, the efficiency and bandwidth both depend on both the maximum modulating frequency and the modulation index.Solution
t=0:1/400:400;
fm=4;
fc=40;
m=sin(2*pi*fm*t);
c=10*cos(2*pi*fc*t);
fmod=10*cos(2*pi*fc*t+(10*sin(2*pi*fm*t)));
subplot(3,1,1)
plot(t,m);
xlabel(\'t\');
title(\'message\');
subplot(3,1,2)
plot(t,c);
xlabel(\'t\');
title(\'carrier\');
subplot(3,1,3)
plot(t,fmod);
xlabel(\'t\');
title(\'modulated\');
