Robochameleon  v1.0
Functions
error_counter_v7c.m File Reference

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)
 

Detailed Description

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.

See also
BERT_v1
const_ref.m
hd_euclid.m
sd_kmeans.m
sumbitxor.m
Parameters
RECEIVED_DATAreceived data, normalized to unity power
REFERENCE_DATAreference 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.LCounter block length, set to inf for one block (required)
param.MConstellation order (required)
param.const_typeConstellation type (default QAM, see const_ref.m for options)
param.codingcoding type (required) {'gray' | 'bin'}
param.decision_typedecision type (default hard) {'hard' | 'soft'}
param.ber_thBER threshold (throw away blocks with worse BERs than this) (default 0.1)
Return values
berbit error rate of full sequence
sersymbol error rate of full sequence
ber_blockbit error rate per block (array)
ser_blocksymbol error rate per block (array)
blockmaplogical array of blocks with ber<param.ber_th
err_bitsnumber of bit errors
totalbitsnumber of bits counted
err_symbnumber of symbol errors
totalsymbnumber of symbols counted
ORIG_SYMBOLSsymbol sequence used for counting (optional)
RX_SYMBOLSsymbol sequence counted (optional)
Author
Robert Borkowski

Definition in file error_counter_v7c.m.