BCH Decoder and Encoder

BCH Encoder and Decoder functions
1.1K Downloads
Updated 13 Jan 2020

View License

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 (2024). BCH Decoder and Encoder (https://www.mathworks.com/matlabcentral/fileexchange/61627-bch-decoder-and-encoder), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Error Detection and Correction in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
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