diff options
| author | Marin Ivanov <[email protected]> | 2025-07-25 10:17:14 +0300 |
|---|---|---|
| committer | Marin Ivanov <[email protected]> | 2026-01-18 20:09:26 +0200 |
| commit | 0168586485e6310c598713c911b1dec5618d61a1 (patch) | |
| tree | 6aabc2a12ef8fef70683f5389bea00f948015f77 /octave/ofdm_load_const.m | |
* codec2 cut-down version 1.2.0
* Remove codebook and generation of sources
* remove c2dec c2enc binaries
* prepare for emscripten
Diffstat (limited to 'octave/ofdm_load_const.m')
| -rw-r--r-- | octave/ofdm_load_const.m | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/octave/ofdm_load_const.m b/octave/ofdm_load_const.m new file mode 100644 index 0000000..95c1c4d --- /dev/null +++ b/octave/ofdm_load_const.m @@ -0,0 +1,57 @@ +% make like C #define for ofdm modem + +Fs = states.Fs; +bps = states.bps; +Rs = states.Rs; +Tcp = states.Tcp; +Ns = states.Ns; +Np = states.Np; +Nc = states.Nc; +M = states.M; +Ncp = states.Ncp; +bps = states.bps; +Nbitsperframe = states.Nbitsperframe; +Nbitsperpacket = states.Nbitsperpacket; +Nsampersymbol = states.Nsampersymbol; +Nsamperframe = states.Nsamperframe; +timing_mx_thresh = states.timing_mx_thresh; +Nuwbits = states.Nuwbits; +Ntxtbits = states.Ntxtbits; +tx_uw = states.tx_uw; +uw_ind = states.uw_ind; +uw_ind_sym = states.uw_ind_sym; +Nuwframes=states.Nuwframes; + +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; +rxbufst = states.rxbufst; +Nrxbufmin = states.Nrxbufmin; + +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; +ofdm_peak = states.ofdm_peak; |
