diff --git a/matlab/estimate_cp_freq_offset.m b/matlab/estimate_cp_freq_offset.m index e657fef..8b1f72e 100644 --- a/matlab/estimate_cp_freq_offset.m +++ b/matlab/estimate_cp_freq_offset.m @@ -24,7 +24,5 @@ function [freq_offset_est] = estimate_cp_freq_offset(samples, fft_size, short_cp sample_offset = sample_offset + fft_size + cp_len; end - scores * 15.36e6 / fft_size - freq_offset_est = sum(scores) / length(scores) / fft_size; end \ No newline at end of file