start ofc analysis
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
filename = "C:\Users\sioe\Nextcloud\Dokumente\02_Ablage_Office\Lab_Data_24\bias_sweep_gigantisch\wh_pam4.mat";
|
||||
filename = "C:\Users\Silas\Nextcloud4\Dokumente\02_Ablage_Office\Lab_Data_24\bias_sweep_gigantisch\wh_pam6.mat";
|
||||
a = load(filename);
|
||||
wh2 = a.wh;
|
||||
|
||||
@@ -8,7 +8,7 @@ wh2 = a.wh;
|
||||
v_bias_vals = wh2.parameter.vbias.values;
|
||||
awg_vpp_vals = wh2.parameter.awg_vpp.values;
|
||||
eq_mode_vals = wh2.parameter.eq_mode.values;
|
||||
eq_mode_show = eq_mode_vals(2);
|
||||
eq_mode_show = eq_mode_vals(3);
|
||||
eq_modes = ["FFE","FFE+MLSE","DB precoded","DB encoded"];
|
||||
|
||||
precomp_amp_max_vals = wh2.parameter.precomp_amp_max.values;
|
||||
@@ -22,7 +22,7 @@ sgtitle(['PAM ', num2str(m),' | EQ: ', char(eq_modes(eq_mode_show))])
|
||||
|
||||
for p = 1:numel(precomp_amp_max_vals)
|
||||
precomp_amp_max_show = precomp_amp_max_vals(p);
|
||||
subplot1 = subplot(2,3,p);
|
||||
subplot1 = subplot(1,3,p);
|
||||
|
||||
bers = [];
|
||||
rop_measured = [];
|
||||
@@ -38,7 +38,7 @@ for p = 1:numel(precomp_amp_max_vals)
|
||||
bestawgvpp=awg_vpp_vals(awg_pos);
|
||||
bestvbias=v_bias_vals(v_bias_pos);
|
||||
|
||||
disp(['Best Vpp: ',num2str(bestvbias),' V; Best Vpp AWG: ',num2str(bestawgvpp),' V' ])
|
||||
disp(['Best Vbias: ',num2str(bestvbias),' V; Best Vpp AWG: ',num2str(bestawgvpp),' V' ])
|
||||
|
||||
% Compute the logarithm of BER data
|
||||
% Adding a small epsilon to avoid log(0)
|
||||
@@ -53,8 +53,8 @@ for p = 1:numel(precomp_amp_max_vals)
|
||||
contourf_handle = contourf(v_bias_vals, awg_vpp_vals, log_bers, 'Parent', subplot1, "ShowText",true,"LabelFormat", @mylabelfun);
|
||||
|
||||
% Set x and y labels with subscripts for clarity
|
||||
xlabel('V_{bias}');
|
||||
ylabel('V_{pp} AWG');
|
||||
xlabel('V_{bias}','Interpreter','tex');
|
||||
ylabel('V_{pp} AWG','Interpreter','tex');
|
||||
title(['Prec. Ampl.: ',num2str(precomp_amp_max_show), 'dB']);
|
||||
|
||||
% Adjust the grid to display white lines
|
||||
|
||||
Reference in New Issue
Block a user