kopia lustrzana https://github.com/proto17/dji_droneid
Now plotting the cyclic prefix estimations
rodzic
27320ea588
commit
28e5baab97
|
@ -1,5 +1,5 @@
|
|||
function [freq_offset_est] = estimate_cp_freq_offset(samples, fft_size, short_cp_len, long_cp_len)
|
||||
|
||||
figure(44);
|
||||
scores = zeros(9, 1);
|
||||
skip = 8;
|
||||
sample_offset = 1;
|
||||
|
@ -14,6 +14,7 @@ function [freq_offset_est] = estimate_cp_freq_offset(samples, fft_size, short_cp
|
|||
cyclic_prefix = samples(sample_offset+skip:sample_offset + cp_len - 1 - skip);
|
||||
end_of_symbol = samples(sample_offset+fft_size+skip:sample_offset+fft_size+cp_len - 1 - skip);
|
||||
|
||||
subplot(3, 3, idx);
|
||||
plot(abs(cyclic_prefix).^2);
|
||||
hold on;
|
||||
plot(abs(end_of_symbol).^2);
|
||||
|
|
Ładowanie…
Reference in New Issue