Professional Documents
Culture Documents
received by antenna.
Ans: - The free space path loss, FSPL, is used in many areas for predicting radio signal strengths
that may be expected in a radio system.
Although the free space path loss does not hold for most terrestrial situations because of other
effects from the ground, objects in the path and the like, there are still very many situations in
which it can be used. It is also useful as the basis for understanding many real life radio
propagation situations.
Accordingly, the free space path loss, FSPL, is an essential basic parameter for many RF
calculations. It can often be used as a first approximation for many short range calculations.
Alternatively it can be used as a first approximation for a number of areas where there are few
obstructions. As such it is a valuable tool for many people dealing with radio communications
systems.
1. The first results from the spreading out of the energy as the sphere over which the energy
is spread increases in area. This is described by the inverse square law.
2. The second effect results from the antenna aperture change. This affects the way in which
any antenna can pick up signals and this term is frequency dependent.
MATLAB code: -
MATLAB RESULT: -
CONCLUSION: -
After entering all the required data in the matlab, it can be clearly stated that the obtained graph
is non linear and the value of the power in the receiver decreases with the increase in distance.
Question 3: - Write a MATLAB code for ASK & FSK digital modulation schemes.
t is a form of amplitude modulation that represents digital data as variations in the amplitude of a
carrier wave. Binary symbol 1 is represented by transmitting carrier wave of fixed amplitude and
fixed frequency for the bit duration T seconds. ASK refers to a type of amplitude modulation that
assigns bit values to discrete amplitude levels. The carrier signal is then modulated among the
members of a set of discrete values to transmit information. Values are represented by different
amplitudes of carrier wave. Usually, one amplitude is zero, i.e., presence and absence of carrier is
used. Used over optical fiber. The equation of the wave generated by the ASK is given by the
following waveform:
Frequency-shift keying (FSK) is a method of transmitting digital signals.The two binary states,
logic 0 (low) and 1 (high), are each represented by an analog waveform. Logic 0 is represented
by a wave at a specific frequency, and logic 1 is represented by a wave at a different frequency. A
modem converts the binary data from a computer to FSK for transmission over telephone lines,
cables, optical fiber, or wireless media. The modem also converts incoming FSK signals to
digital low and high states, which the computer can "understand."
MATLAB CODE: -
FSK
ASK
clc
clear all
close all
F1=input('enter carrier frequency')
F2=input('enter input frequency')
A=4;
t=0:0.0001:1;
x=A*sin(2*pi*F1*t)
subplot(3,1,1)
plot(t,x)
M=A/2*square(2*pi*F2*t)+(A/2);
subplot(3,1,2)
plot(t,M)
u=x.*M
subplot(3,1,3)
plot(t,u)
MATLAB RESULT: -
-2
-4
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
20
10
-10
-20
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Carrier 1 Wave
5
Amplitude
-5
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time
Carrier 2 Wave
5
Amplitude
-5
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time
Binary Message Pulses
10
Amplitude
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time
Modulated Wave
5
Amplitude
-5
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
Time
Conclusion: -
After entering the value of the carrier frequency for different signals and the value of the
amplitude , it can be clearly seen from the obtained graph that both the carrier wave and the
message signal gets modulated to give the desired output for the minimum loss and maximum
distance transmitting character of the wave for the purpose of communication.