基于Hata模型的BPSK调制信号小区覆盖模拟matlab完整程序分享

基于Hata信道模型的BPSK调制信号小区覆盖模拟matlab仿真,对比VoIP, Live Video,FTP/Email

基于Hata模型的BPSK调制信号小区覆盖模拟matlab完整程序分享_第1张图片

完整程序:

 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

你可能感兴趣的:(MATLAB代码(非电气),matlab,BPSK调制信号,小区覆盖模拟,HATA信道模拟)