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 件のコメント

KSSV
KSSV 2017 年 12 月 6 日
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.

回答 (0 件)

この質問は閉じられています。

タグ

質問済み:

2017 年 12 月 6 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by