1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
% make like C #define for ofdm modem
Fs = states.Fs;
bps = states.bps;
Rs = states.Rs;
Tcp = states.Tcp;
Ns = states.Ns;
Nc = states.Nc;
M = states.M;
Ncp = states.Ncp;
bps = states.bps;
Nbitsperframe = states.Nbitsperframe;
Nrowsperframe = states.Nrowsperframe;
Nsamperframe = states.Nsamperframe;
timing_mx_thresh = 0.35;
Nuwbits = states.Nuwbits;
Ntxtbits = states.Ntxtbits;
tx_uw = states.tx_uw;
uw_ind = states.uw_ind;
uw_ind_sym = states.uw_ind_sym;
W = states.W;
w = states.w;
timing_est = states.timing_est;
sample_point = states.sample_point;
ftwindow_width = states.ftwindow_width;
Nrxbuf = states.Nrxbuf;
rxbuf = states.rxbuf;
pilots = states.pilots;
rate_fs_pilot_samples = states.rate_fs_pilot_samples;
foff_est_gain = states.foff_est_gain;
foff_est_hz = states.foff_est_hz;
timing_en = states.timing_en;
foff_est_en = states.foff_est_en;
phase_est_en = states.phase_est_en;
rate = states.rate;
ldpc_en = states.ldpc_en;
if ldpc_en
code_param = states.code_param;
max_iterations = states.ldpc_max_iterations;
demod_type = states.ldpc_demod_type;
decoder_type = states.ldpc_decoder_type;
end
verbose = states.verbose;
|