COST231-WI模型通道模擬,原始碼模擬matlab程式設計原始碼
%%%%%%%%%%%%%%%COST231-WI非視距傳播模型%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%適用條件f=800-2000MHz;Hb=4-50m;Hm=1-3m;d=0.02-5km%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%發射功率f(MHz),收發天線距離(小區半徑)d(km)%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%移動臺高度Hm(m),基站高度Hb(m)%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%建築物屋頂高度Hroof(m),道路寬度w(m),建築物間隔b(m)%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%相對直接無線路徑的道路方向性Phi(度)%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%Model=1;中等規模城市和植被覆蓋密度適中的郊區中心%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%Model=2;大城市的中心%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function y=wireless_Walfish_Ikegami_NLOS_attenuation(Model,f,d,Hm,Hb,Hroof,w,b,Phi)
L0=32.4+20*log(d)/log(10)+20*log(f)/log(10);%自由空間的損耗
if (Phi>=0)&Phi<35
Lcri=-10+0.354*Phi;
elseif Phi>=35&Phi<55
Lcri=2.5+0.075*(Phi-35);
elseif Phi>=55&Phi<=90
Lcri=4.0+0.114*(Phi-55);
end
Lrts=-16.9-10*log(w)/log(10)+10*log(f)/log(10)+20*log(Hb-Hm)/log(10)+Lcri%從屋頂到街道的繞射和散射損耗
if Hb>Hroof
Lbsh=-18*log(1+Hb-Hroof)/log(10);
ka=54;
kd=18;
elseif d>=0.5
Lbsh=0;
ka=54-0.8*(Hb-Hroof);
kd=18-15*(Hb-Hroof)/Hroof;
else
Lbsh=0;
ka=54-0.8*(Hb-Hroof)*(d/0.5);
kd=18-15*(Hb-Hroof)/Hroof;
end
if Model==1
kf=-4+0.7*(f/925-1);
elseif Model==2
kf=-4+1.5*(f/925-1);
end
Lmsd=Lbsh+ka+kf*log(f)/log(10)+kd*log(d)/log(10)-9.1*log(b)/log(10);%多屏繞射損耗
if Lrts+Lmsd<=0
y=L0;
else
y=L0+Lrts+Lmsd;
end
%%%%%%%%%%%%%%%WI傳播模型%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%發射功率f(MHz),收發天線距離(小區半徑)d(km)%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%視距傳輸%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function y=wireless_Walfish_Ikegami_LOS_attenuation(f,d)
y=42.6+26*log(d)/log(10)+20*log(f)/log(10);
clc;
clear all;
f=900;
d=0.02:0.01:5;
y=wireless_Walfish_Ikegami_LOS_attenuation(900,d);
d1=0.02:0.01:5;
Model=1;
Hm=1.5;
Hb=17;
w=20;
b=40;
Phi=90;
Hroof=15;
f1=900;
f2=1800;
y1=wireless_Walfish_Ikegami_NLOS_attenuation(Model,f1,d1,Hm,Hb,Hroof,w,b,Phi);
y2=wireless_Walfish_Ikegami_NLOS_attenuation(Model,f2,d1,Hm,Hb,Hroof,w,b,Phi);
plot(d,y,'-.c',d1,y1,'--r',d1,y2,'--k');
xlabel('距離(km)')
ylabel('路徑損耗(dB)')
title('COST231-WI模型路徑損耗')
legend('視距路徑損耗f=900MHz','非視距路徑損耗f=900MHz','非視距路徑損耗f=1800MHz')
相關文章
- 【原始碼】使用MATLAB進行ECG模擬原始碼Matlab
- 原始碼分析axios(1)~原始碼分析、模擬axios的建立原始碼iOS
- React Hooks 原始碼模擬與解讀ReactHook原始碼
- modelsim指令碼模擬設計(三)帶標頭檔案模擬指令碼
- 基於Select模型的通訊模擬--win32程式設計程式碼模型Win32程式設計
- Okumura-Hata模型損耗通道模擬模型
- 2024.9.28 程式碼源模擬賽
- vivado新增模擬原始檔
- 【原始碼】基於MPPT的光伏(PV)系統模擬原始碼
- 根據原始碼模擬實現express框架常用功能原始碼Express框架
- 通過模擬vuex的核心原始碼快速掌握其原理Vue原始碼
- 無線自組網AODV路由機制模擬原始碼路由原始碼
- 併發模擬-程式碼CountDownLatch,SemaphoreCountDownLatch
- 模擬考試參考程式碼
- ADAMS 指令碼模擬指令碼
- OA 系統原始碼模組設計方案原始碼
- SciTech-EECS-電設計- PCB設計-電路設計與模擬系統 + SPICE 模擬描述與模型模型
- 大規模MIMO通訊系統通道估計matlab效能模擬,對比LS,OMP,MOMP以及CoSaMPMatlab
- modelsim 獨立模擬vivado的IP核及模擬指令碼指令碼
- Java使用程式碼模擬高併發操作Java
- 小車側方位停車過程的動態模擬matlab模擬Matlab
- gothinkster/realworld:模擬Medium部落格的全棧技術學習原始碼Go全棧原始碼
- Abp 審計模組原始碼解讀原始碼
- 用 150 行 Python 程式碼寫的量子計算模擬器Python
- 3.1 spring5原始碼系列--迴圈依賴 之 手寫程式碼模擬spring迴圈依賴Spring原始碼
- SCM通道模型和SCME通道模型的matlab特性模擬,對比空間相關性,時間相關性,頻率相關性模型Matlab
- 程式碼源 Y1 配套模擬練習
- 20240928--程式碼源模擬賽#6 總結
- 基於LS演算法的OFDM+QPSK系統通道估計均衡matlab效能模擬演算法Matlab
- 一個51程式設計和模擬——流水燈程式設計
- nodejs的tream(流)解析與模擬檔案讀寫流原始碼實現NodeJS原始碼
- 基於方塊編碼的影像壓縮matlab模擬,帶GUI介面MatlabGUI
- JavaScript模擬拋物運動的程式碼實現JavaScript
- 【模擬設計】模擬技術在智慧製造中的作用;智慧製造難點在模型,焦點在模擬;汽車行業CAE研究模型行業
- 如何設計電商系統原始碼的商鋪模組原始碼
- WordPress輕擬物NiRvana模板原始碼原始碼
- PAT-B 1067 試密碼【模擬】密碼
- Matlab實現模擬調製與解調Matlab