Ec 3501 Wirelss Communication Lab Manual PDF Channel Access Method Multiplexing 8
Ec 3501 Wirelss Communication Lab Manual PDF Channel Access Method Multiplexing 8
Communication Lab
Manual
Uploaded by periyasamy on Dec 20, 2023
Document Information
The document describes the objectives and procedu…
Original Description:
Download now
Download as pdf or txt
Date uploaded
Dec 20, 2023
Copyright
EC 3501 – WIRELESS COMMUNICATION LABORATORY
© © All Rights Reserved
1. Modeling of wireless communication systems using Matlab(Two ray channel and Okumura –
Hata model)
Available Formats
2. Modeling and simulation of Multipath fading channel
PDF, TXT or read online from Scribd
3. Design, analyze and test Wireless standards and evaluate the performance measurements such
as BER, PER, BLER, throughput, capacity, ACLR, EVM for 4G and 5G using Matlab
5. Wireless Channel equalization: Zero-Forcing Equalizer (ZFE),MMSE
Equalizer(MMSEE),Adaptive Equalizer (ADE),Decision Feedback Equalizer (DFE)
6. Modeling and simulation of TDMA, FDMA and CDMA for wireless communication
Facebook Twitter
Email
AIM:
To model and simulate wireless communication system for two ray channel and okumura hata model
using matlab
Software Required:
Matlab version 2014a
THEORY:
The two-rays ground-reflection model is a multipath radio propagation model which predicts
the path losses between a transmitting antenna and a receiving antenna when they are in line of sight
(LOS). Generally, the two antenna each have different height. The received signal having two
components, the LOS component and the reflection component formed predominantly by a single
ground reflected wave. When the distance between antennas is less than the transmitting antenna
height, two waves are added constructively to yield bigger power. As distance increases, these waves
add up constructively and destructively, giving regions of up-fade and down-fade. As the distance
increases beyond the critical distance or first Fresnel zone, the power drops proportionally to an
inverse of fourth power of an approximation to critical distance may be obtained by setting Δφ to π
as the critical distance to a local maximum.
PROCEDURE:
6. If any error occurs in the program correct the error and run it again
PROGRAM:
lambda = 0.3;
ht100=100;
ht30=30;
ht2=2;
hr=2;
axis=[];
p100=[];
p30=[];
p2=[];
pfsl=[];
for i=1000:5000
d=10^(i/1000);
axis =[axis d];
fspower = (lambda/(4*3.1415*d))^2 ;
power100 = fspower * 4 *(sin(2*3.1415*hr*ht100/(lambda*d)))^2;
power30 = fspower* 4 *(sin(2*3.1415*hr*ht30/(lambda*d)))^2;
power2 = fspower * 4 *(sin(2*3.1415*hr*ht2/(lambda*d)))^2;
text('FontSize',18)
xlabel('distance in m');
ylabel('pathloss');
text(1000,-66,'blue : hr=30m');
text(1000,-74,'red : hr=2m');
text(1000,-58,'red : hr=100m');
text(1000,-50,'yellow: free space');
OUTPUT:
CDMA:
close all;
clc;
%N=6;
data=[1 0 0 1 1 0 1 1];
subplot(2,2,1);
plot(rectpulse(data,100));
title('Message Signal');
xlabel('n');
ylabel('x(n)');
grid on;
data(data(:)==0)=-1;
length_data=length(data);
fc1=10;
eb=2;
tb=1;
T=1;
msg=rectpulse(data,100);
subplot(2,2,2);
plot(msg);
xlabel('n');
ylabel('x(n)');
grid on;
N=length_data;
Tb = 0.0001;
nb=100;
br = 1/Tb;
Fc = br*10;
t2 = Tb/nb:Tb/nb:Tb;
t1=0.01:0.01:length_data;
bpskmod=sqrt(2/T)*cos(2*pi*fc1*t1);
bpsk_data=msg.*bpskmod;
subplot(2,2,3)
plot(bpsk_data)
xlabel('Time Period(t)');
ylabel('x(t)');
grid on;
subplot(2,2,4);
plot(real(fft(bpsk_data)));
xlabel('Frequency');
ylabel('PSD');
grid on;
sr=[1 -1 1 -1];
pn1=[];
for i=1:length_data
for j=1:10
pn1=[pn1 sr(4)];
if sr (4)==sr(3)
temp=-1;
else temp=1;
end
sr(4)=sr(3);
sr(3)=sr(2);
sr(2)=sr(1);
sr(1)=temp;
end
end
subplot(2,2,1);
stem(pn1);
axis([0,length(pn1),-1.2,1.2])
xlabel('n');
ylabel('x(n)');
grid on;
pnupsampled1=[];
len_pn1=length(pn1);
for i=1:len_pn1
for j=0.1:0.1:tb
pnupsampled1=[pnupsampled1 pn1(i)];
end
end
length_pnupsampled1=length(pnupsampled1);
subplot(2,2,2)
stem(pnupsampled1);
axis([0,length(pnupsampled1),-1.2,1.2])
xlabel('n');
ylabel('x(n)');
grid on;
subplot(2,2,3);
sigtx1=bpsk_data.*pnupsampled1;
plot(sigtx1);
title('CDMA Signal');
xlabel('Time Period(t)');
ylabel('x(t)');
subplot(2,2,4);
plot(real(fft(sigtx1)));
xlabel('Frequency');
ylabel('PSD');
grid on;
sigtonoise=20;
composite_signal=awgn(sigtx1,sigtonoise);
figure('Name','CDMA Reciever','NumberTitle','off')
subplot(2,2,1);
plot(sigtx1);
title(' Tx Signal');
xlabel('Time Period(t)');
ylabel('x(t)');
grid on;
subplot(2,2,2);
plot(composite_signal);
xlabel('Time Period(t)');
ylabel('x(t)');
grid on;
%Rx
rx=composite_signal.*pnupsampled1;
subplot(2,2,3);
plot(rx);
xlabel('Time Period(t)');
ylabel('x(t)');
grid on;
%BPSK Demodulation
y=[];
bpskdemod=rx.*bpskmod;
for i=1:100:size(bpskdemod,2)
y=[y trapz(t1(i:i+99),bpskdemod(i:i+99))];
end
y(y(:)<=0)=-1;
y(y(:)>=0)=1;
rxdata=y;
subplot(2,2,4);
plot(rectpulse(rxdata,100));
xlabel('n');
ylabel('x(n)');
grid on;
rxdata(rxdata(:)==-1)=0;
rxdata(rxdata(:)==1)=1;
rxmsg=rxdata;
figure('Name','Diffrent SNR','NumberTitle','off')
subplot(3,1,1)
plot(rectpulse(rxmsg,100));
xlabel('n');
ylabel('x(n)');
grid on;
sigtonoise1=5;
composite_signal1=awgn(sigtx1,sigtonoise1);
subplot(3,1,2);
plot(composite_signal);
From Everand
Document 24 pages
Ec3501 Wireless
Communication 1560801494…
WC Labmittapally
karunya Manual
No ratings yet
Document 2 pages
Magazines Podcasts
Sheet music
Document 48 pages
Document 2 pages
Assignment 11 Communication
System
Divya Garg
No ratings yet
Document 3 pages
Document 20 pages
Document 5 pages
Document 3 pages
Assignment of Amplitude
Modulation and Angle…
Modulation
Rhelf Mae Valencia
No ratings yet
Document 9 pages
Document 0 pages
Antenna Theory
Elvin Endozo
No ratings yet
Document 6 pages
15ecl48-VTU-raghudathesh-
Instrumentation Amplifier PDF
raghudatheshgp
No ratings yet
Show more
About Support
Facebook
Legal
Pinterest
Terms
Privacy
Copyright
Cookie Preferences
Documents
Ad
Buy Kirloskar Submersible Pump
Kirloskar Brothers Ltd.
Shop Now