Info

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

could anyone help me to fix the issue for the following code.

1 次查看(过去 30 天)
for t= 1:length(N_UE)
list_of_N_rng={[1,2,3,4],[5,6,7,8,9]};
for seed_idx = 1 : length(list_of_N_rng)
N_rng=list_of_N_rng{seed_idx};
for s=1:length(N_rng)
....
...
...
output1(t,s)=overall_throughput1 % final result of throughput calculation
...
...
end
end
end
dummyX = 1:length(list_of_N_rng);
figure
plot(dummyX,output1,'rs');
hold on;grid on;
I have calculated the overall throughput for [1,2,3,4] and [5,6,7,8,9] after calculating the throughput i want to plot the graph for [1,2,3,4] and [5,6,7,8,9].
But the values of 5,6,7,8,9 are overwritten on 1,2,3,4.
So in the graph i can see the values of only 5,6,7,8,9 and not 1,2,3,4.
Could anyone help me how to obtain the values of 1,2,3,4

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by