【C-PF,C-CUBP,C-DUBP】基于效用函数的联合资源分配MATLAB仿真

1.软件版本

MATLAB2021a

2.本算法理论知识

本系统仿真场景如下:

C-CUBP

主要涉及到的公式有:

15:

18:

6:

11/9:

C-DUBP

主要涉及到的公式有:

18:

6:

11/9:

上述原理主要总结自参考文献:

[1] Huang B ,  Li J ,  Svensson T . A Utility-Based Joint Resource Allocation Approach for Multi-Service in CoMP Networks[J]. Wireless Personal Communications, 2013, 72(3):1633-1648.

3.部分源码

clc;
clear;
close all;
warning off;
addpath 'func\'

Simulation_time = 100;

Max_people      = 15;
Step_people     = 3;
Min_people      = 3;
Sum_Utility     = 0;
ALL_throughput  = 0;
Drop_ratio      = 0;
Outage_ratio    = 0;
p               = 0;

for i = Min_people:Step_people:Max_people
    p = p + 1;
    ALL_throughput  = 0;
    ALL_Power_comp  = 0;
    %利用蒙特卡罗的思想,对一个情况进行多次计算,结果用平均值表示
    for k = 1:Simulation_time
        k
        T_user                     = func_COMP_VIOP_traffic(i);
        %进行调度
        [SU,T_CPF_Scheduler,dr,or] = func_CPF_Scheduler(T_user,i);  
        %Cell-edge sum utility
        Sum_Utility                = Sum_Utility    + sum(SU);
        %BE average throughput
        ALL_throughput             = ALL_throughput + sum(T_CPF_Scheduler);
        %VoIP packet drop ratio
        Drop_ratio                 = dr;
        %VoIP call outage ratio
        Outage_ratio               = or;
    end 
    Sum_Utility2(p)     = Sum_Utility/Simulation_time;
    ALL_throughput2(p)  = ALL_throughput/Simulation_time;
    Drop_ratio2(p)      = Drop_ratio/Simulation_time;
    Outage_ratio2(p)    = Outage_ratio/Simulation_time;
end

%==========================================================================

figure;
MM = Min_people:Step_people:Max_people;
plot(MM,Sum_Utility2,'m--^','LineWidth',2);title('Sum Utility');grid on;
xlabel('用户数量');
ylabel('Sum Utility');
axis([2,16,0,500]);


figure;
MM = Min_people:Step_people:Max_people;
plot(MM,ALL_throughput2,'m--^','LineWidth',2);title('ALL throughput');grid on;
xlabel('用户数量');
ylabel('ALL throughput');
axis([2,16,0,800]);

figure;
MM = Min_people:Step_people:Max_people;
plot(MM,Drop_ratio2,'m--^','LineWidth',2);title('VoIP packet drop ratio');grid on;
xlabel('用户数量');
ylabel('drop ratio');
axis([2,16,0,0.16]);


figure;
MM = Min_people:Step_people:Max_people;
plot(MM,Outage_ratio2,'m--^','LineWidth',2);title('VoIP call outage ratio');grid on;
xlabel('用户数量');
ylabel('outage ratio');
axis([2,16,0,0.7]);

save CPF.mat MM Sum_Utility2 ALL_throughput2 Drop_ratio2 Outage_ratio2

4.仿真分析

5.参考文献

[1] Huang B ,  Li J ,  Svensson T . A Utility-Based Joint Resource Allocation Approach for Multi-Service in CoMP Networks[J]. Wireless Personal Communications, 2013, 72(3):1633-1648.A06-18

  • 5
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

fpga和matlab

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值