0% found this document useful (0 votes)
2 views4 pages

Wireless Assignment1

The lab assignment for the Wireless and Mobile Communications course includes two experiments: the first focuses on sampling a continuous-time sine wave signal and visualizing its discrete representation using MATLAB, emphasizing the importance of the Nyquist-Shannon theorem to avoid aliasing. The second experiment simulates a Rayleigh fading channel to analyze its impact on communication systems, highlighting how the presence of a line-of-sight (LOS) component improves signal quality. Both experiments aim to deepen understanding of signal processing and communication reliability.

Uploaded by

akshay95811
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views4 pages

Wireless Assignment1

The lab assignment for the Wireless and Mobile Communications course includes two experiments: the first focuses on sampling a continuous-time sine wave signal and visualizing its discrete representation using MATLAB, emphasizing the importance of the Nyquist-Shannon theorem to avoid aliasing. The second experiment simulates a Rayleigh fading channel to analyze its impact on communication systems, highlighting how the presence of a line-of-sight (LOS) component improves signal quality. Both experiments aim to deepen understanding of signal processing and communication reliability.

Uploaded by

akshay95811
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

School of Electronics

Winter Semester 2024-2025


Lab Assignment – I – TASK 1
Course Name & Code: Wireless and Mobile Communications Lab - BECE317P
Faculty Name: Dr. Sudhanshu Arya

Name: TADI VENKATA AKSHAY Reg No : 22BML0037

EXPERIMENT - 1:

1. AIM/OBJECTIVE:
To understand the process of sampling a con nuous- me signal and visualizing its
discrete me representa on.
Write a MATLAB program to perform the following tasks:
a) Generate a con nuous- me sine wave signal 𝑥(𝑡) = 𝐴 sin(2𝜋𝑓𝑡 + 𝜙), where 𝑓 is the
frequency and 𝜙 is the phase.
b) Sample the sine wave at the defined sampling frequency 𝑓𝑠 to obtain the
discrete me signal 𝑥[𝑛]. Use an oversampling rate 𝑁 to define the sampling
frequency 𝑓𝑠 =𝑁𝑓.

So ware/Hardware Requirements:

MATLAB

THEORY:

Sampling a con nuous- me signal means measuring its amplitude at regular intervals to
create a discrete version. To avoid aliasing, the sampling rate must be at least twice the
highest frequency of the signal, as stated by the Nyquist-Shannon theorem. This results in a
series of points represen ng the signal over me.

Formula :

Over Sampling Theorm

fs > 2*fm
fs = sampling frequency

fm = maximum frequency
CODE:

a=1;
fm=10;
theta=pi/6;
fs=3*fm;
n=0:1/fs:3/fm;
y=a*sin(a*pi*fm*n+theta);
subplot(2,1,1);
plot(n,y);
xlabel(‘Time------>’);
ylabel(‘Amplitude----->’);
tle(‘Sampling a Con nuous me signal’);
subplot(2,1,2);
stem(n,y);
xlabel(‘Time------>’);
ylabel(‘Amplitude----->’);
tle(‘Sampling a Discrete me signal’);

Results and Observa ons:

GRAPHICAL REPRESENTATION:

CONCLUSION:

Sampling a con nuous signal at regular intervals creates a discrete


representa on, and to prevent aliasing, the sampling rate must be at least twice the
signal's highest frequency.
EXPERIMENT - 2:

2. AIM/OBJECTIVE:
To simulate Rayleigh Fading channel and analyse the impact on the communica on systems.
Write a MATLAB program to perform the following tasks:
a) Simulate the Rayleigh Fading channel.

Ques on: How does the presence of a line-of-sight (LOS) component affect the signal
quality?

So ware/Hardware Requirements:

MATLAB

THEORY:

In a Rayleigh fading channel, the absence of a line-of-sight (LOS) component typically leads to
significant signal degrada on due to mul path interference. When a LOS path is present, it
enhances signal quality by providing a direct, strong signal that can improve overall
communica on reliability and reduce fading effects.

Formula :

Rayleigh Distribu on Theorm

R=sqrt(X^2+Y^2)

Where X and Y are zero mean Gaussian Random Variables with equal varience.

CODE:

clc;
n=1e6;
n1=randn(1,n);
n2=randn(1,n);
h=sqrt(n1.^2+n2.^2);
[num,edges]=histcounts(h,'Normaliza on','pdf');
l=length(num);
num(l+1)=0;
plot(edges,num);
xlabel('h----->');
ylabel('PDF ----->');
tle(‘Rayleigh Fading channel’);
Results and Observa ons:

GRAPHICAL REPRESENTATION:

CONCLUSION:

Simula ng a Rayleigh fading channel helps us understand how mul path


interference affects signal quality in communica on systems. The presence of a line-of-sight
(LOS) component significantly improves signal strength and reliability by providing a direct
path for the signal, reducing the impact of fading. This experiment highlights the importance
of considering both mul path effects and LOS condi ons when designing and analyzing
communica on systems for be er performance.

You might also like