Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!