0% found this document useful (0 votes)
54 views

Analog Communication Assignment

The document plots modulated signals for two message signals. For the first message signal, a sawtooth wave is used and multiplied with a carrier cosine wave to generate a modulated signal. For the second message signal, the absolute value of the sawtooth wave is taken before multiplying with the carrier cosine wave. Both modulated signals are plotted along with the message and carrier signals for comparison over time.

Uploaded by

blooms116
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views

Analog Communication Assignment

The document plots modulated signals for two message signals. For the first message signal, a sawtooth wave is used and multiplied with a carrier cosine wave to generate a modulated signal. For the second message signal, the absolute value of the sawtooth wave is taken before multiplying with the carrier cosine wave. Both modulated signals are plotted along with the message and carrier signals for comparison over time.

Uploaded by

blooms116
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

ASSIGNMENT

Plot the modulated signals for the message signals.


1.
d=0.5;
w=10*pi;
t =0:0.001:1;
m=sawtooth(w*t,d);
subplot(3,1,1);
plot(t,m)
xlabel('Time')
ylabel('Amplitude')
title('Message signal')
c=cos(2*pi*100*t);
subplot(3,1,2);
plot(t,c)
xlabel('Time')
ylabel('Amplitude')
title('Carrier signal')
u=m.*c
subplot(3,1,3)
plot(t,u)
xlabel('Time')
ylabel('Amplitude')
title('Modulated signal')

Amplitude

Amplitude

Amplitude

Message signal
1
0
-1

0.1

0.2

0.3

0.4

0.5
0.6
Time
Carrier signal

0.7

0.8

0.9

0.1

0.2

0.3

0.4

0.5
0.6
Time
Modulated signal

0.7

0.8

0.9

0.1

0.2

0.3

0.4

0.7

0.8

0.9

1
0
-1

1
0
-1

0.5
Time

0.6

2.
d=0.5;
w=10*pi;
t =0:0.001:1;
m1=sawtooth(w*t,d);
m=abs(m1)
subplot(3,1,1);
plot(t,m)
xlabel('Time')
ylabel('Amplitude')
title('Message signal')
c=cos(2*pi*100*t);
subplot(3,1,2);
plot(t,c)
xlabel('Time')
ylabel('Amplitude')
title('Carrier signal')
u=m.*c
subplot(3,1,3)
plot(t,u)
xlabel('Time')
ylabel('Amplitude')
title('Modulated signal')

Amplitude

Amplitude

Amplitude

Message signal
1
0.5
0

0.1

0.2

0.3

0.4

0.5
0.6
Time
Carrier signal

0.7

0.8

0.9

0.1

0.2

0.3

0.4

0.5
0.6
Time
Modulated signal

0.7

0.8

0.9

0.1

0.2

0.3

0.4

0.7

0.8

0.9

1
0
-1

1
0
-1

0.5
Time

0.6

You might also like