下载频道> 资源分类> matlab源码> 数学建模> CDMA小区网络源码程序

标题:CDMA小区网络源码程序
分享到:

所属分类: 数学建模 资源类型: 文件大小: 3.69 KB 上传时间: 2016-01-27 19:21:10 下载次数: 30 资源积分:1分 提 供 者: 马云 CDMA小区网络源码程序
内容:
CDMA小区网络源码程序,程序员在编程的过程中可以参考学习使用,希望对IT程序员有用,此源码程序简单易懂、方便阅读,有很好的学习价值!
 x_bs=0; %location of BS
y_bs=0;
x_ms=200; %location of MS
y_ms=300;
r_hexagon=364;
hb=30; %base station antenna effective height,Unit:m
hm=1.5; %mobile station antenna effective height,Unit:m
c=3; %0db for medium cities & suburban areas; 3db for metropolis
f=2145; %WCDMA downlink channel,Unit:MHz
B=5*10^6; %WCDMA carrier bandwidth
pt=3; %dB,33dbm,10lg(w*1000)=10lgw+30=dBm,WCDMA maximum output power 33,27,24,21dBm
n0=10^(-19); %AWGN power spectrum density
x_hexagon=[x_bs-r_hexagon,x_bs-1/2*r_hexagon,x_bs+1/2*r_hexagon,x_bs+r_hexagon,x_bs+1/2*r_hexagon,x_bs-1/2*r_hexagon,x_bs-r_hexagon];
y_hexagon=[y_bs,y_bs-r_hexagon,y_bs-r_hexagon,y_bs,y_bs+r_hexagon,y_bs+r_hexagon,y_bs];
plot(x_hexagon,y_hexagon)
axis([-1000 1000 -1000 1000])
text(x_bs,y_bs,'+')
text(x_ms,y_ms,'*')
d_bs_ms=sqrt((x_ms-x_bs)^2+(y_ms-y_bs)^2)*0.001; %Unit:km
ahm=(1.1*log10(f)-0.7)*hm-(1.56*log10(f)-0.8); %mobile station antenna height correction factor
pathloss=46.3+33.9*log10(f)-13.82*log10(hb)-ahm+(44.9-6.55*log10(hb))*log10(d_bs_ms)+c; %cost231-hata,Unit:dB
pr=pt-pathloss; %dB
prw=10^(pr/10);
SNR=prw/(n0*B);
fprintf('%f\t\n',SNR);

文件列表(点击上边下载按钮,如果是垃圾文件请在下面评价差评或者投诉):

CDMA小区网络源码程序/
CDMA小区网络源码程序/pathloth.m
CDMA小区网络源码程序/untitled.png

关键词: 源码 小区 程序

相关推荐

Top_arrow
回到顶部
联系方式| 版权声明| 招聘信息| 广告服务| 银行汇款| 法律顾问| 兼职技术| 付款方式| 关于我们|
网站客服网站客服 程序员兼职招聘 程序员兼职招聘 博客客服
沪 ICP 证 14049794 号
谷速代码 版权所有
Copyright © 1999-2014, GUSUCODE.COM, All Rights Reserved