kopia lustrzana https://github.com/proto17/dji_droneid
Had to change dimensions on freq correction vector
This happened due to a change in the read_complex_floats functionpull/2/head
rodzic
8fe194bcd6
commit
6c875b5014
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue