MATLAB Examples

Binary Symmetric Channel Error Rate

Pass a random signal through a binary symmetric channel. Calculate the error rate for specified error probability.

Open the slex_bsc_channel model.

Run the model with the error probability of the BSC block set to 0.01. The results are saved to the base workspace variable ErrorVec in a 1-by-3 row vector. The first element contains the BER.

With error pobability set to 0.01, BER: 0.009929

Change the error probability of the BSC block to 0.04. Run the model and observe the increase in BER.

With error pobability set to 0.04, BER: 0.039889