Info

此问题已关闭。 请重新打开它进行编辑或回答。

how to run this p_allocation 5 times and plot with x =[10,20,30,40,50]

1 次查看(过去 30 天)
clear all
close all
clc
Device = [1 0;2 0;3 0;4 0;5 0;6 0;7 0;8 0;9 0;10 0]
RB = [1 6; 2 7;3 4;4 9;5 1;6 12]
enodeB = [1 2 3 4 5];
occupied = [];
clc
cs=0;
for ii=1:100
selection_try_1ststep
end
success_p=cs
p_allocation=cs/100
what syntax needed to plot p_allocation random value with x value[10 20 30 40 50] ?????/
  6 个评论

回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by