kopia lustrzana https://github.com/proto17/dji_droneid
Now getting sample count of input file for bounds checking
rodzic
7eff1d4c40
commit
cbcea2db15
|
@ -18,6 +18,8 @@
|
|||
function [bursts] = extract_bursts_from_file(input_path, sample_rate, frequency_offset, correlation_threshold,...
|
||||
chunk_size, padding)
|
||||
|
||||
num_samples = get_sample_count_of_file(input_path);
|
||||
|
||||
lte_carrier_spacing = 15e3; % OFDM carrier spacing
|
||||
fft_size = sample_rate / lte_carrier_spacing; % Number of samples per OFDM symbol (minus cyclic prefix)
|
||||
long_cp_len = round(1/192000 * sample_rate); % Number of samples in the long cyclic prefix
|
||||
|
|
Ładowanie…
Reference in New Issue