Robochameleon
v1.0
|
General error counter. More...
Go to the source code of this file.
Functions | |
function | error_counter_v7c (in RECEIVED_DATA, in REFERENCE_DATA, in param) |
General error counter.
Generic error counter. Takes any received sequence, any reference data, and counts errors. The data is partitioned into blocks of variable length, and each block is synchronized, mapped, and counted independently. It is not optimized for any case in particular, and faster algorithms may be available. See BERT_v1 for other options and usage example.
RECEIVED_DATA | received data, normalized to unity power |
REFERENCE_DATA | reference data. For constellation orders >=2, if this is type logical, counter constructs symbols assuming binary delay & add. If this is type uint16, counter assumes they are symbols. |
param.L | Counter block length, set to inf for one block (required) |
param.M | Constellation order (required) |
param.const_type | Constellation type (default QAM, see const_ref.m for options) |
param.coding | coding type (required) {'gray' | 'bin'} |
param.decision_type | decision type (default hard) {'hard' | 'soft'} |
param.ber_th | BER threshold (throw away blocks with worse BERs than this) (default 0.1) |
ber | bit error rate of full sequence |
ser | symbol error rate of full sequence |
ber_block | bit error rate per block (array) |
ser_block | symbol error rate per block (array) |
blockmap | logical array of blocks with ber<param.ber_th |
err_bits | number of bit errors |
totalbits | number of bits counted |
err_symb | number of symbol errors |
totalsymb | number of symbols counted |
ORIG_SYMBOLS | symbol sequence used for counting (optional) |
RX_SYMBOLS | symbol sequence counted (optional) |
Definition in file error_counter_v7c.m.