Skip to content
Snippets Groups Projects
Commit a72ffda8 authored by nats's avatar nats
Browse files

adding FT8 stuffé

parent 64068a06
No related branches found
No related tags found
No related merge requests found
......@@ -13,16 +13,17 @@ function sig = modulate(msg, syms)
end
endfunction
% Care Absolute Power 1 is SQRT(2)
function np = gennoise(power, len)
np = (randn(1,len)+j*randn(1,len)) * sqrt(power);
np = (sqrt(1/2)*randn(1,len)+j*sqrt(1/2)*randn(1,len)) * sqrt(power);
endfunction
function symlist = symgen()
freq_step = 6.25; % 50Hz / 8
nb_freq = 8;
FS = 500;
nb_sample = 80; % Some information talk about 160ms symbol duration
FS = 100;
nb_sample = 16; % Some information talk about 160ms symbol duration
% Generating the 8 frequencies
sym_array = zeros(nb_freq, nb_sample);
......@@ -59,5 +60,7 @@ costas_mod = modulate(costas, sym_array);
% signal is now containing a fake frame of FT8
% needs to add noise power calculation
signoise = signal + gennoise(1, length(signal));
Pn = 10; % Noise power relative to signal power
signoise = signal + gennoise(Pn, length(signal));
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment