Introduce binary errors
Communications Toolbox / Channels
The Binary Symmetric Channel block introduces errors to the input signal transmitted through a binary symmetric channel. The errors are introduced based on the specified Error probability. For more information, see Tips.
Data Types 

Multidimensional Signals 

VariableSize Signals 

When the input consists of not Boolean
values, Binary Symmetric Channel
converts zerovalued elements to 0 and converts nonzerovalued elements to
1.
The Binary Symmetric Channel block creates and uses an independent RandStream
to provide a random
number stream for probability determination.
To generate repeatable results, use the same Initial seed value.
To generate independent probability statistics, set different Initial seed values for multichannel signals, multiple processing chains, or simulation runs.