Added MATLAB script that creates taps for a GNU Radio FFT filter to find the first ZC

pull/2/head
David Protzman 2022-04-22 11:39:50 -04:00
rodzic ffd7fdd2db
commit 64d5f67072
1 zmienionych plików z 13 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,13 @@
function [] = create_gnuradio_zc(fft_size, symbol_number)
zc = conj(create_zc(fft_size, symbol_number));
fprintf('[');
for idx=1:length(zc)
fprintf('(%0.4f+%0.4fj)', real(zc(idx)), imag(zc(idx)));
if (idx ~= length(zc))
fprintf(',')
end
end
fprintf(']\n');
end