Using custom normalized xcorr function

This is to allow the use of Octave
gr-droneid-3.8
David Protzman 2022-04-07 14:39:25 -04:00
rodzic d608ec6f5f
commit a58d26b910
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -35,6 +35,6 @@ function [scores] = find_zc(samples, sample_rate)
% Run a normalized cross correlation with no lag (just do one
% xcorr)
scores(start_offset) = xcorr(window_one, window_two, 0, 'normalized');
scores(start_offset) = normalized_xcorr(window_one, window_two);
end
end