how to make iterations and to plot the graph
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
could anybody tell me how to run 10 iterations for the output(t,r) and plot the graph.
N_UE=[ 5 10 15 20 25];
N_SC=[ 60 70 80 90 100];
for t= 1 :length(N_UE)
for r = 1:length(N_SC)
for it = 1:10
overall_throughput = sum(sum((Bmax.*log(1+((p_fix).*C))./noise))) {C=rand(N_UE, N_SC)} output(t,r)=overall_throughput;
end
end
end
1 Kommentar
KSSV
am 6 Dez. 2017
Code is not correct.....variables are not defined. If it is you want to plot a matrix...have a look on plot , surf, imagesc and pcolor.
Antworten (0)
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!