|
| end | load ("results.mat") colors |
| |
| | figure (6) |
| |
| | errorbar (ant_num_range, avg_proc_bigstation, std_proc_bigstation, 'Color', colors(1,:), 'LineWidth', 2) |
| |
| | errorbar (ant_num_range, avg_proc_millipede, std_proc_millipede, 'Color', colors(2,:), 'LineWidth', 2) |
| |
| | set (gca, 'FontSize', 24) |
| |
| | xlim ([10, 70]) |
| |
| | xlabel ('Number of antennas') |
| |
| | ylabel ('Time(us)') |
| |
| | xticks (ant_num_range) |
| |
| | title ('Uplink frame Processing latency') |
| |
| | set (gca, 'YScale', 'log') % ylim([0 7000]) |
| |
| | xticks ([0:8:32]) |
| |
| | set (gcf, 'Position',[100 100 350 350]) yyaxis right |
| |
| | set (gca, 'YColor',[0.8, 0.8, 0.8]) |
| |
| | ylabel ('Number of cores') |
| |
| | ylim ([13, 50]) |
| |
| | set (l, 'FontSize', 20) |
| |
| end | figure (7) |
| |
| | errorbar (ue_num_range(2:3), avg_proc_bigstation, std_proc_bigstation, 'Color', colors(1,:), 'LineWidth', 2) |
| |
| | errorbar (ue_num_range, avg_proc_millipede, std_proc_millipede, 'Color', colors(2,:), 'LineWidth', 2) |
| |
| | xlabel ('Number of users') |
| |
| | set (l, 'FontSize', 18) |
| |
|
| | ant_num_range = [16, 32, 48, 64] |
| |
| | num_cores = [11, 15,18, 30] |
| |
| | avg_proc_millipede = [] |
| |
| | std_proc_millipede = [] |
| |
| | avg_proc_bigstation = [] |
| |
| | std_proc_bigstation = [] |
| |
| | index = 0 |
| |
| for | ant_num |
| |
| | filename = sprintf('timeresult_millipede_%dx%d_1ms.txt',ant_num, 16) |
| |
| | clf |
| |
| hold | on |
| |
| | h1 = plot(ant_num_range,avg_proc_bigstation, '^', 'Color', colors(1,:), 'LineWidth',2, 'MarkerSize',20) |
| |
| | h2 = plot(ant_num_range,avg_proc_millipede,'s', 'Color', colors(2,:), 'LineWidth',2,'MarkerSize',20) |
| |
| | l1 = legend([h_fft_big,h_fft_big_5core,h_fft_comp,h_pilot,h_theory],{'BigStation (n_{FFT}=min)','BigStation (n_{FFT}=5)', 'Millipede', 'Pilot RX', 'Theoretical pilot RX'},'Location','best','Orientation','vertical') |
| |
| l1 | NumColumns = 2 |
| |
| | h3 = plot(ant_num_range, num_cores, 'o--', 'Color', [0.8,0.8,0.8], 'LineWidth',2, 'MarkerSize',15) |
| |
| | l = legend([h1,h2],'Pipeline parallel','Cheetah', 'location','west') |
| |
| | ue_num_range = [4, 8, 16] |
| |
| for | ue_num |
| |