kopia lustrzana https://github.com/proto17/dji_droneid
Porównaj commity
3 Commity
363ff70239
...
a58848eaff
Autor | SHA1 | Data |
---|---|---|
David Protzman | a58848eaff | |
David Protzman | 5f319c4cc4 | |
David Protzman | deb0be39c2 |
|
@ -46,7 +46,7 @@ function [start_offset] = find_sto_cp(samples, sample_rate)
|
|||
right = window(end - cp_len + 1:end);
|
||||
|
||||
% Correlate the two windows
|
||||
scores(cp_idx) = abs(xcorr(left, right, 0, 'normalized'));
|
||||
scores(cp_idx) = abs(xcorr(left, right, 0));
|
||||
|
||||
% Move the sample pointer forward by the full symbol size
|
||||
offset = offset + cp_len + fft_size;
|
||||
|
|
Ładowanie…
Reference in New Issue