Had to change dimensions on freq correction vector

This happened due to a change in the read_complex_floats function
pull/2/head
David Protzman 2022-04-24 16:45:07 -04:00
rodzic 8fe194bcd6
commit 6c875b5014
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -43,7 +43,7 @@ function [bursts] = extract_bursts_from_file(input_path, sample_rate, frequency_
burst_sample_count = (padding * 2) + (long_cp_len * 2) + (short_cp_len * 7) + (fft_size * 9);
% Pre-calculate the frequency offset adjustment vector as this will be constant for all bursts
freq_offset_vec = reshape(exp(freq_offset_constant * [1:burst_sample_count]), 1, []);
freq_offset_vec = reshape(exp(freq_offset_constant * [1:burst_sample_count]), [], 1);
% It's not known right away if the first and last bursts are going to be clipped because there aren't enough
% samples. So, as filthy as it is, use concatenation to build up a list of starting indices that will definitely