Question

In this assignment, you will be working with two sinusoidal signals. The higher-frequency signal    c(t)...

In this assignment, you will be working with two sinusoidal
signals. The higher-frequency signal

   c(t) = cos(2*pi*F*t) (where F is in Hertz)

will be referred to as "carrier"; while the lower-frequency
signal

   v(t) = 1.5 + cos(2*pi*f*t + q) (f in Hz, again)

will be referred to as "envelope". Note that the envelope has
a positive offset of 1.5 units.

In amplitude modulation (AM), the envelope multiplies the carrier
and the resulting product signal

  

is the AM signal.

_________________________________________________________________

Your code should generate three signal vectors. Plot them in a
SINGLE figure consisting of THREE subplots (3 rows, 1 column).
The SUBPLOT function should be used. EACH subplot should have
labels on the horizontal and vertical axes, and also the
appropriate title:

   CARRIER, AM SIGNAL 1 and AM SIGNAL 2

  
(i)    Suppose that F = 200 Hz (above). Create a time vector td
   that contains 800 samples of c(t), spanning 50 periods.
   td should have the form

       td = 0 : d : 50*T-d

   where T is the period of c(t) and d is to be determined.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

clc;

close all;

clear all;

%XXXXXXXXXXXXXXXXXXXXXXXXXXX Define AM modulation Index XXXXXXXXXXXXXXXXXXX

disp(' example: m=1 means 100% modulation');

%m=input(' Enter the value of modulation index (m) = ');

m=1; % for 100% modulation

if (0>m||m>1)

error('m may be less than or equal to one and geter than to zero');

end

%XXXXXXXXXXXXXXXXX modulating signal generation XXXXXXXXXXXXXXXXXXXXXXXXXX

Am=1; % Amplitude of modulating signal

fa=20; % Frequency of modulating signal

Ta=1/fa; % Time period of modulating signal

d=Ta/999

t=0:d:50*Ta-d; % Total time for simulation

ym=Am*cos(2*pi*fa*t); % Eqation of modulating signal

figure(1)

subplot(4,1,1);

plot(t,ym), grid on;% Graphical representation of Modulating signal

title ( ' Modulating Signal ');

xlabel ( ' time(sec) ');

ylabel (' Amplitud(volt) ');

%XXXXXXXXXXXXXXXXXXXXX carrier signal generation XXXXXXXXXXXXXXXXXXXXXXXXXX

Ac=Am/m;% Amplitude of carrier signal [ where, modulation Index (m)=Am/Ac ]

fc=fa*10;% Frequency of carrier signal=200Hz

Tc=1/fc;% Time period of carrier signal

yc=Ac*cos(2*pi*fc*t);% Eqation of carrier signal

subplot(4,1,2);

plot(t,yc), grid on;% Graphical representation of carrier signal

title ( ' Carrier Signal ');

xlabel ( ' time(sec) ');

ylabel (' Amplitud(volt) ');

%XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX AM Modulation XXXXXXXXXXXXXXXXXXXXXXXXXXXXX

y=Ac*(1+m*cos(2*pi*fa*t)).*cos(2*pi*fc*t); % Equation of Amplitude

%modulated signal

subplot(4,1,3);

plot(t,y);% Graphical representation of AM signal

title ( ' AM signal1 ');

xlabel ( ' time(sec) ');

ylabel (' Amplitud(volt) ');

grid on;

%xxxxxxxxxxxxxxxxx Envolope of AM signal xxxxxxxxxxxxxxxx

yam=1.5+Am*sin(2*pi*fa*t); % Eqation of Envolope of modulated signal

subplot(4,1,4);

plot(t,yam), grid on;% Graphical representation of Envolope of AM signal

title ( ' AM Signal2 ');

xlabel ( ' time(sec) ');

ylabel (' Amplitud(volt) ');

Sorry here i plotted modulating signal even so I have to use 4 subplots.

If you want only three please use 3 instead 4 at all occurences of subplot keyword. And remove the first part. I had assumed modulation index=1 and modulating signal frequency=20Hz.

Hope this is clear to you. For any queries please comment below.

Thank you:)

Hope

Add a comment
Know the answer?
Add Answer to:
In this assignment, you will be working with two sinusoidal signals. The higher-frequency signal    c(t)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • In Lab 2, you learned - various plotting techniques - how to create an exponentially faded...

    In Lab 2, you learned - various plotting techniques - how to create an exponentially faded version of a given sinusoidal signal. In this assignment, you will be working with two sinusoidal signals. The higher-frequency signal c(t) = cos(2*pi*F*t) (where F is in Hertz) will be referred to as "carrier"; while the lower-frequency signal v(t) = 1.5 + cos(2*pi*f*t + q) (f in Hz, again) will be referred to as "envelope". Note that the envelope has a positive offset of...

  • AMPLITUDE MODULATION 1. Study in time and frequency domains of AM signals This AM signal is...

    AMPLITUDE MODULATION 1. Study in time and frequency domains of AM signals This AM signal is represented below The x-axis has graduations in 10 seconds and y-axis has graduations in volts. 1.1 From this time display, find the values of Ach and μ. Give the name of these parameters. Comment on the waveform of the message signal, find its frequency f 1.2 Draw the amplitude spectrum IS(DI with a bilateral representation. Put graduations on the axes (in hertz and volt)....

  • Consider the message signal m(t):

    Consider the message signal m(t):a. Sketch the AM signal u(t)=[ A + m(t) ] Cos(wct) for modulation indexes μ = 0.5 and μ = 2.0 by assuming the carrier frequency to be much higher than the bandwidth of m(t) b. Determine the efficiency percentage (η = ps/pt) for μ = 0.5. Herein, Ps and Pt are sideband and total powers respectively, and Pt= Ps + Pc , in which Pc is the carrier power. Hint : Take into account the Parseval's property. c. If the AM waveforms corresponding...

  • Consider frequency modulation with a sinusoidal message signal (tone modulation) m(t) = a cos(2πfmt). The modulated...

    Consider frequency modulation with a sinusoidal message signal (tone modulation) m(t) = a cos(2πfmt). The modulated signal is: vFM(t) = Ac cos[2πfct + βf sin(2πfmt)]. with βf = kfa/fm being the modulation index. What is the bandwidth of the modulated signal.

  • Consider frequency modulation with a sinusoidal message signal (tone modulation) m(t) = a cos(2πfmt). The modulated...

    Consider frequency modulation with a sinusoidal message signal (tone modulation) m(t) = a cos(2πfmt). The modulated signal is: vFM(t) = Ac cos[2πfct + βf sin(2πfmt)]. with βf = kfa/fm being the modulation index. What is the bandwidth of the modulated signal.

  • Assume that an AM transmitter is modulated with a video testing signal given by em(t) =...

    Assume that an AM transmitter is modulated with a video testing signal given by em(t) = =20 + 60 sin (2πf1t), where f1 = 3.57 MHz. Let the carrier signal c(t) = Ac cos(2πfct), where Ac = 100 and fc = 100 MHz. The AM signal is fed into a 50-Ω load. (a) Derive an expression for the AM DSB-FC signal in time domain. (b) Construct the AM waveform, giving numerical values of the maximum amplitude, Amax and the minimum...

  • The following expression describes a carrier modulated by a sinusoidal message. $(t) = [4 + 2...

    The following expression describes a carrier modulated by a sinusoidal message. $(t) = [4 + 2 cos (500nt)]cos (500004t) (a) Name the modulation format; (b) Find the carrier frequency in Hz; (c) Find the minimum and maximum frequencies in Hz of the required channel passband; (d) Find the modulation index; (e) Find the power efficiency n

  • A carrier signal c(?) = ? cos(??) is modulated by a single-tone signal ?(?) = ?...

    A carrier signal c(?) = ? cos(??) is modulated by a single-tone signal ?(?) = ? ???(??) to form the AM signal: s(t)= [? + ????(??)]???(??), where ? = 10, ? = 2, ? = 1000 ??, ? = 50 ??. a- Obtain an expression for the sidebands of ?(?). b- Sketch ?(?) c- Sketch the spectra |?(?)|, |?(?)|, |?(?)| against f. d- Calculate the modulation index (m) e- What bandwidth is required to transmit the AM signal. f- Show...

  • Consider an AM system. The message signal is given by cos(1000t) volts. The modulated signal is (0.5+acos(1000m))cos(2π.) volts, where α is a positive coefficient, and fe is the carrier frequency. (a...

    Consider an AM system. The message signal is given by cos(1000t) volts. The modulated signal is (0.5+acos(1000m))cos(2π.) volts, where α is a positive coefficient, and fe is the carrier frequency. (a) Determine the value of α when the modulation index is 100%. (b) Determine the value of α when the modulation index is 50%. (c) Determine the value of α when the modulation index is 200%. (6 marks) Continue from (1) and suppose α-05. Sketch the spectrum of the transmitted...

  • Question 4: (20 points) An FM signal is modulated with message m(t)Am cos(2Tmt). The measured amp...

    Question 4: (20 points) An FM signal is modulated with message m(t)Am cos(2Tmt). The measured amplitude spectrum, SPM(f), is shown below: Amplitude spectrum of the frequency modulated signal 2 -2 5000 4000 3000 2000 -1000 1000 2000 3000 4000 5000 frequency f [Hz] a) What is the carrier frequency fe? b) What is the message frequency fm c) What is the FM modulation index Bf? Is it a narrowband or a wideband signal? d) Using Carson's rule, estimate the transmission...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT