how to make iterations and to plot the graph

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 commentaire

KSSV
KSSV le 6 Déc 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.

Réponses (0)

Cette question est clôturée.

Tags

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by