Additions:
- Correction of the weighted DFE function in EQ.m - Some evaluation scripts for FSO Data
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
%%
|
||||
current = 225:10:285;
|
||||
current = string(current);
|
||||
power = [28.02, 33.2, 37.5, 42.3, 46.3, 49.3, 53.4];
|
||||
power = string(power);
|
||||
curr_pow_num = 4;
|
||||
num_pf_coeff = 4;
|
||||
taps_ffe = [300, 0, 0];
|
||||
taps_dfe = [0, 0, 0];
|
||||
M = 4;
|
||||
trlength = 4096*4;
|
||||
eq_method = 2;
|
||||
filter_length = 210;
|
||||
our_signal = 0;
|
||||
BER_vec = [];
|
||||
|
||||
for i = 1:15
|
||||
BER_value = first_analysis_ber(current(curr_pow_num), power(curr_pow_num), num_pf_coeff, taps_ffe, taps_dfe, M, trlength, eq_method, filter_length, i, our_signal);
|
||||
BER_vec = [BER_vec, BER_value];
|
||||
end
|
||||
|
||||
%%
|
||||
BER_Our_Signal = [1.2e-3,1.3e-3,9.0e-4,3.8e-4,4.8e-4,4.8e-4,5.7e-4,4.1e-4,4.8e-4,5.6e-4,3.8e-4,4.1e-4,4.1e-4,5.2e-4,3.8e-4];
|
||||
BER_Their_Signal = [5.7e-4,4.0e-4,5.2e-4,4.9e-4,5.2e-4,5.5e-4,4.8e-4,4.0e-4,3.6e-4,4.6e-4,5.7e-4,5.3e-4,4.5e-4,5.9e-4,6.4e-4];
|
||||
|
||||
figure;
|
||||
x = 1:15;
|
||||
plot(x, BER_Our_Signal, 'Marker', 'o', 'LineWidth', 1.75)
|
||||
hold on
|
||||
plot(x, BER_Their_Signal, 'Marker', 'o', 'LineWidth', 1.75)
|
||||
title('BER for FFE+PF+VNLE', 'Interpreter', 'latex')
|
||||
xlabel('Cell Entry', 'Interpreter', 'latex')
|
||||
ylabel('BER', 'Interpreter', 'latex')
|
||||
legend('Our Signal', 'Their Signal', 'Interpreter', 'latex')
|
||||
grid('minor')
|
||||
xlim([0 16])
|
||||
ylim([3e-4, 1.5e-3])
|
||||
hold off
|
||||
Reference in New Issue
Block a user