scheduling_allocation_algorithm
function [Cond_chan,timelong]=Chanbase global detaT Tnum subNum Chanat %信道状况矩阵 Psub=2; %自有信道数量 Cond_chan=[]; % timelong=[(Tnum+1000)*ones(Psub,1);10*detaT+(100-10)*detaT*rand(subNum-Psub,1)]; %0-2500的随机数,表示信道的可用/非可用时长 timelong=[(Tnum+1000)*ones(Psub,1);detaT*random('norm',Chanat,5,[subNum-Psub
用户评论