uloops = struct; uloops.bitrate = [300,330,360,390,420,450,480].*1e9; uloops.M = [4,6,8]; wh = DataStorage(uloops); wh.addStorage("ber"); fprintf("Let's simulate %d configuratiuons! \n",wh.getLastLinIndice); wh = submit_simulations(wh,"parallel",1); for m_ = uloops.M ber_row = wh.getStoValue('ber', uloops.bitrate,m_); figure(2024) hold on plot(uloops.bitrate.*1e-9,ber_row,'DisplayName',sprintf('PAM %d',m_)); end yline(3.8e-3,'LineWidth',2,'DisplayName','3.8e-3'); yline(2e-2,'LineWidth',2,'LineStyle','--','DisplayName','2e-2'); beautifyBERplot() legend