資源簡(jiǎn)介
matlab中處理OFDMA的資源分配,包括子載波分配和功率分配.是LTE系統(tǒng)中的以最大化系統(tǒng)吞吐量為目的

代碼片段和文件信息
%?%**************************************************************************
%???Functionfile:?????calu_deRIV.m
%???Description:
%?????The?program?is?used?to?caculate?the?starting?visual?resource?block(VRB)?number
%???and?a?length?in?terms?of?contiguously?allocated?resource?blocks.
%?????
%?
%???
%?***************************************************************************
%???
%?%*******************Pseudo?Code*******************************************
%?RIV:?resource?indication?value
%?N_DL_VRB:?number?of?visual?resource?blocks?in?the?downlink
%?L_CRBS:?length?in?terms?of?contiguously?allocated?resource?blocks
%?RB_start:?starting?visual?resource?block(VRB)?number
%?************************************************************************%
function?[L_CRBSRB_start]=calu_deRIV(RIVN_DL_VRB)
a=floor(RIV/N_DL_VRB)+1;
b=mod(RIVN_DL_VRB);
if?a+b>N_DL_VRB
????L_CRBS=N_DL_VRB+2-a;
????RB_start=N_DL_VRB-1-b;
else?
????L_CRBS=a;
????RB_start=b;
end
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????????984??2009-12-14?20:30??resource_allocation\calu_deRIV.m
?????文件???????1364??2009-12-14?20:29??resource_allocation\calu_NGap.m
?????文件???????1185??2009-12-14?20:30??resource_allocation\resource_allocation0.m
?????文件???????2028??2009-12-14?20:30??resource_allocation\resource_allocation1.m
?????文件???????4206??2009-12-14?20:31??resource_allocation\resource_allocation2.m
?????目錄??????????0??2009-12-14?20:27??resource_allocation
-----------?---------??----------?-----??----
?????????????????9767????????????????????6
評(píng)論
共有 條評(píng)論