BCH Decoder and Encoder

BCH Encoder and Decoder functions

You are now following this Submission

BCH Encoder and Decoder functions.
BCH Decoder employs the following steps in decoding :
Syndrome calculation, RiBM algorithm (optimized for BCH codes) and Chien search.

Cite As

Miroslav Marinkovic (2026). BCH Decoder and Encoder (https://se.mathworks.com/matlabcentral/fileexchange/61627-bch-decoder-and-encoder), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

- Testbench script updated to test BCH Encoder/Decoder for different error correction capabilities in a single run
- New testbench script added which estimates BER performance
- MAT file userGftable.mat added (needed for large block size)

1.1.0.0

- Bug causing incorrect calculaton of error locator polynominal (only when parameter "t" is odd number) has been fixed;
Function "RiBM_BCH_algorithm" affected by this bug is corrected
- All the uint16() functions in the code replaced with uint32()

1.0.0.0