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
|
|
@ -312,8 +312,8 @@ struct Encoder : public Common
|
|||
}
|
||||
symbol(j);
|
||||
}
|
||||
DSP::quick_sort(papr, symbol_count);
|
||||
std::cerr << "PAPR (dB): " << DSP::decibel(papr[0]) << " .. " << DSP::decibel(papr[symbol_count/2]) << " .. " << DSP::decibel(papr[symbol_count-1]) << std::endl;
|
||||
DSP::quick_sort(papr, symbol_count + 1);
|
||||
std::cerr << "PAPR (dB): " << DSP::decibel(papr[0]) << " .. " << DSP::decibel(papr[symbol_count/2]) << " .. " << DSP::decibel(papr[symbol_count]) << std::endl;
|
||||
}
|
||||
finish();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue