91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 20KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-13
  • 語言: Matlab
  • 標簽: MATLAB??

資源簡介

隨著5g的發展,越來越多的資源共享問題也成為了研究熱點,描述了5g中車載網絡的資源分配問題,

資源截圖

代碼片段和文件信息

%?DEscriptION
%???compute?the?optimal?V2I?and?V2V?power?allocations?given?one?V2I?link
%???and?multiple?V2V?links?sharing?spectrum
%
%?INPUT
%???alpha_m?numK?x?1?interfering?channel?from?V2I?to?numK?V2Vs
%???alpha_kk?numK?x?numK?mutual?V2V?interference?channels
%???alpha_mB?scalar?V2I?channel
%???alpha_kB?numK?x?1?interfering?channel?from?numK?V2Vs?to?V2I?link
%???gamma0?scalar?V2V?slow?SINR?threshold
%???sig2?noise?power
%???Pd_max?V2V?max?power
%???Pc_max?V2I?max?power
%
%?OUTPUT
%???rate?maximum?rate?achieved?with?the?optimal?power?allocation?-1?if
%???the?problem?is?infeasible.?
%???Pc_opt?optimal?power?of?V2I
%???Pd_opt?numK?x?1?optimal?power?of?V2Vs
%
%?Le?Liang?Georgia?Tech?Aug.?30?2017



function?[rate?Pc_opt?Pd_opt]?=?calOptPower(alpha_mk?alpha_kk?alpha_mB?alpha_kB?gamma0?sig2?Pd_max?Pc_max)

numK?=?length(alpha_mk);?%?#?of?mutually?interfering?V2Vs

phi?=?alpha_kk‘;
phi?=?-gamma0*phi;
for?ii?=?1:numK
????phi(iiii)?=?alpha_kk(iiii);
end

phi_inv?=?inv(phi);
Pc_cand?=?(Pd_max-gamma0*sig2*sum(phi_inv2))./(gamma0*phi_inv*alpha_mk);

Pc_opt?=?min([Pc_max;?Pc_cand]);
if?Pc_opt?<=?0?%?infeasible
????rate?=?-1;
????Pd_opt?=?0;
????return;
end
Pd_opt?=?phi_inv*(gamma0*(Pc_opt*alpha_mk?+?sig2));
if?sum(Pd_opt<=0)?>=?1?%?infeasible
????rate?=?-1;
????return;
end

signal?=?Pc_opt*alpha_mB;
interf?=?Pd_opt‘*alpha_kB;%?interference
rate?=?log2(1?+?signal/(sig2?+?interf));
end

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????1480??2018-10-17?21:34??calOptPower.m
?????文件????????1521??2018-10-17?21:33??genClusterMaxCut.m
?????文件????????2018??2018-10-17?21:33??genClusterSun.m
?????文件????????1438??2018-10-17?21:33??genPL.m
?????文件????????2442??2018-10-17?21:32??genVehlinks.m
?????文件????????1138??2018-10-17?21:31??getSlowSINR.m
?????文件????????8899??2018-10-17?21:30??mainCDFvsRateSINR_baseline.m
?????文件????????9316??2018-10-18?17:59??mainCDFvsRateSINR_greedy.m
?????文件????????9594??2018-10-17?21:29??mainRateVsSpeed_randomized.m
?????文件????????7169??2018-10-17?21:28??munkres.m
?????文件????????7285??2018-10-17?21:28??solution3DMatching.m
?????文件????????1751??2018-10-17?21:27??solveMatching.m
?????文件????????2457??2018-10-17?21:26??solveMatching3D.m

評論

共有 條評論