Use flg
to override the defaults that
govern which elements symerr
compares and how
symerr
computes the outputs. The values of
flg
are 'overall'
,
'column-wise'
, and 'row-wise'
. The table
below describes the differences that result from various combinations of inputs. In
all cases, ratio
is number
divided by the
total number of elements in y
.
Comparing a Two-Dimensional Matrix x with Another
Input y
Shape of y | flg | Type of Comparison | number |
---|
Two-dim. matrix | 'overall' (default) | Element by element | Total number of symbol errors |
'column-wise' | mth column of
x vs.
mth column of
y
| Row vector whose entries count symbol errors in each column
|
'row-wise' | mth row of
x vs.
mth row of
y
| Column vector whose entries count symbol errors in each row
|
Column vector | 'overall'
| y vs. each column of x
| Total number of symbol errors |
'column-wise' (default) | y vs. each column of x
| Row vector whose entries count symbol errors in each column
of x
|
Row vector | 'overall' | y vs. each row of x
| Total number of symbol errors |
'row-wise' (default) | y vs. each row of x
| Column vector whose entries count symbol errors in each row
of x
|