Fixed bug in threshold buffer allocation

gr-droneid-3.8
David Protzman 2022-04-18 23:49:38 -04:00
rodzic d0a40fc344
commit 1d25a33db2
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -34,7 +34,7 @@ function [zc_indices] = find_zc_indices_by_file(file_path, sample_rate, frequenc
fprintf('There are %d samples in "%s"\n', total_samples, file_path);
% Really large array to store the cross correlation results from *all* samples
zc_scores = zeros(total_samples - length(correlator_taps), 0);
zc_scores = zeros(total_samples - length(correlator_taps), 1);
sample_offset = 0;
while (~ feof(file_handle))