Binary Symmetric Channel - Introduce binary errors

Library

Channels

Description

The Binary Symmetric Channel block introduces binary errors to the signal transmitted through this channel.

The input port is the transmitted binary signal. The input can be either a scalar, a sample-based vector, or a frame-based row vector. This block processes each vector element independently, and introduces an error in a given spot with probability Error probability.

This block uses the Signal Processing Blockset Random Source block to generate the noise. Random numbers are generated 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 whose length matches the number of channels in the input signal. For details on Initial seed, see the Random Source block reference page in the Signal Processing Blockset documentation set.

The first output port is the binary signal that has passed through the channel. The second output port is the vector of errors that were introduced. To suppress the second output port, clear the Output error vector check box.

Dialog Box

Error probability

The probability that a binary error will occur. The value of this parameter must be between zero and one.

Initial seed

The initial seed value for the random number generator.

Output error vector

If this box is checked, then the block outputs the vector of errors.

Output datatype

You can set the output data type to double or boolean.

See Also

Bernoulli Binary Generator

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS