資源簡介
matlab code for power control in LTE femtocell networks.It include two femtocell base stations and one femtocell user
代碼片段和文件信息
%%??LTE?Uplink?Power?Control%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%??Femto?User?Equipment2?PSD?Calculation?Received?At?Neighbor?Femto?base?Station2.
function?ogisim_normal(FC)
????%?Transmit?power?FBS2.4.6.8?is?set?as?max?in?dBm
????%?TxPSD_FBS2?=?13;?%20mW
?????for?i=1:1:FC.ns;
????%?Path?Loss?between?FBS2?and?FUE1?dB
????%??PL_FBS2?=?20*log10(FC.F)+FC.N*log10(FC.d1(i))+FC.Lf2-28;
????%?Interference?at?the?FBS2
????%?I_2?=?TxPSD_FBS2?-?PL_FBS2;
????%?Path?Loss?between?FBS5?and?FUE1dB
??????PL_FBS5?=?20*log10(FC.F)+FC.N*log10(FC.d3(i))+FC.Lf1-28;
????%?Transmit?power?of?FBS5
??????TxPSD_FBS5?=?13;
????%?SINR?at?FUE1
??????FC.SINR(i)?=?(TxPSD_FBS5?-?PL_FBS5);
????%?Throughput?calculation
??????C?=?400*(FC.BW_eff*FC.v*FC.M*FC.BW_PRB*log2(1+abs(FC.SINR)/FC.SINR_eff))/1048576;
??????end
????%%?Plot?for?SINR
????set(0‘DefaultAxesColorOrder‘[0?0?0;0?0?1]‘DefaultAxesLinestyleOrder‘‘-|-*|-.|:‘);
????cdfplot(FC.SINR)
????hold?all
????title(‘SINR?CDF?Plot‘)
????xlabel(‘SINR‘)
????ylabel(‘CDF‘)
????legend(‘normal‘‘Full?Power2‘‘Full?Power8‘‘LTE?FPC?\alpha=0.6‘‘LTE?FPC?\alpha=0.8‘‘LTE?FPC?\alpha=1‘‘Proposed?\alpha=0.6‘‘Proposed?\alpha=0.8‘‘Proposed?\alpha=1‘‘Location‘‘SE‘)
????%%?Plot?for?Throughput
%????set(0‘DefaultAxesColorOrder‘[0?0?0;0?0?1]‘DefaultAxesLinestyleOrder‘‘-|-*|-.|:‘);%|:d|-o|-s|--
%????cdfplot(C)
%????hold?all
%????title(‘Throughput?CDF?Plot‘)
%????xlabel(‘Throughput?[Mbps]‘)
%????ylabel(‘CDF‘)
%????legend(‘Full?Power‘‘Location‘‘SE‘)
%????legend(‘Full?Power‘‘LTE?FPC?\alpha=0.6‘‘LTE?FPC?\alpha=0.8‘‘LTE?FPC
%????\alpha=1‘‘Proposed?\alpha=0.6‘‘Proposed?\alpha=0.8‘‘Proposed
%????\alpha=1‘‘Location‘‘SE‘)
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1712??2011-09-12?05:39??ogisim_normal.m
-----------?---------??----------?-----??----
?????????????????1712????????????????????1
- 上一篇:丁采樣算法
- 下一篇:MCA用于圖像分割與去噪
評論
共有 條評論