基于Hata信道模型的BPSK调制信号小区覆盖模拟matlab仿真,对比VoIP, Live Video,FTP/Email
完整程序:
clc;
clear;
close all;
warning off;
addpath(genpath(pwd));
% Random bits are generated here.
bits = randi([0, 1], [50,1]);
M = 2;
t = 1:1:50;
trans = pskmod(bits,M);
plot(t,trans);
title('BPSK Modulated Signal in Time domain');
xlabel('Bits Distribution');
ylabel('Bit Magnitude');
h = scatterplot(trans);
title('Scatter Plot of BPSK Modulated signal');
% HATA Model
fc = 900;
hr = 3;
ht = 70;
d = 2;
alpha = (1.11*log10(fc) -0.7)*hr - (1.56*log10(fc) -0.8);
% Path Loss in dB for urban case