mirror of
https://github.com/aicodix/modem.git
synced 2026-04-27 14:30:34 +00:00
accommodate preamble symbol in PAPR computations
This commit is contained in:
parent
bca52ea9e8
commit
049dfdb3fa
3 changed files with 5 additions and 5 deletions
|
|
@ -385,8 +385,8 @@ struct Decoder : Common
|
|||
}
|
||||
if (oper_mode < 1)
|
||||
continue;
|
||||
DSP::quick_sort(snr, symbol_count);
|
||||
std::cerr << "Es/N0 (dB): " << DSP::decibel(snr[0]) << " .. " << DSP::decibel(snr[symbol_count/2]) << " .. " << DSP::decibel(snr[symbol_count-1]) << std::endl;
|
||||
DSP::quick_sort(snr, symbol_count + 1);
|
||||
std::cerr << "Es/N0 (dB): " << DSP::decibel(snr[0]) << " .. " << DSP::decibel(snr[symbol_count/2]) << " .. " << DSP::decibel(snr[symbol_count]) << std::endl;
|
||||
crc_bits = data_bits + 32;
|
||||
shuffle(code, perm, code_order);
|
||||
polar_decoder(nullptr, mesg, code, frozen_bits, code_order);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue