how to make iterations and to plot the graph
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti
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 Commento
KSSV
il 6 Dic 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.
Risposte (0)
Questa domanda è chiusa.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!