Main Content

Compute number of symbol errors and symbol error rate

`[`

compares the elements in `number`

,`ratio`

] = symerr(`x`

,`y`

)`x`

and `y`

. The sizes of
`x`

and `y`

determine which elements are
compared. The output `number`

is a scalar or vector that indicates
the number of elements that differ. The output `ratio`

equals
`number`

divided by the total number of elements in the
*smaller* input.