Files
imdd_silas/projects/FSO_transmission/Evaluation Scripts/evalscript_FFE_DFE.m
magf 005e821131 Added:
- Class folder 'Timing Recovery' with different timing recoveries
- Minimal example for the timing recovery on the FSO data
- New evaluation scripts in the FSO project folder
2026-02-02 10:56:12 +01:00

36 lines
882 B
Matlab

taps_ffe = [200, 3, 2];
taps_dfe = [5, 2, 1];
trlen = 4096*2;
trloops = 5;
ddloops = 5;
K_FFE = 1;
DCmu = 0.005;
mu_ffe_values = [0.001, 0.0005, 0.001];
mu_dfe_values = 0.0007;
DDmu = [mu_ffe_values, mu_dfe_values];
DFEmu = 0.004;
FFEmu = 0;
plot_final = 0;
idealdfe = 1;
num_pf_coeffs = 1;
damp_factor = 1;
norm_loop_bw = 0.01;
det_gain = 2.7;
step_size = 0.0001;
BER = [];
taps_ffe_and_dfe = zeros(1,6);
for i = 1:6
for j = 1:200
taps_ffe_and_dfe(i) = j;
BER_run = first_analysis_2(taps_ffe_and_dfe(1:3), taps_ffe_and_dfe(4:6), trlen, trloops, ddloops, ...
K_FFE, DCmu, DDmu, DFEmu, FFEmu, plot_final, idealdfe, num_pf_coeffs, ...
damp_factor, norm_loop_bw, det_gain);
BER = [BER, BER_run];
close all
end
[~,index_minimum_ber] = min(BER);
taps_ffe_and_dfe(i) = index_minimum_ber;
end
disp(taps_ffe_and_dfe)