The Binary Symmetric Channel block introduces binary errors to the signal transmitted through this channel.
The input port represents the transmitted binary signal. This block accepts a scalar or vector input signal. The block processes each vector element independently, and introduces an error in a given spot with probability Error probability.
This block uses the DSP System Toolbox™ Random Source block to generate the noise. The block generates random numbers using the Ziggurat method, which is the same method used by the MATLAB® randn function. The Initial seed parameter in this block initializes the noise generator. Initial seed can be either a scalar or a vector, with a length that matches the number of channels in the input signal. For details on Initial seed, see the Random Source block reference page in the DSP System Toolbox documentation set.
The first output port is the binary signal the channel processes. The second output port is the vector of errors the block introduces. To suppress the second output port, clear Output error vector.
The probability that a binary error occurs. Set the value of this parameter between 0 and 1.
The initial seed value for the random number generator.
When you select this box the block outputs the vector of errors.
Select the output data type as double or boolean.
An example using the Binary Symmetric Channel block is in the section Design a Rate 2/3 Feedforward Encoder Using Simulink.
|Port||Supported Data Types|