Open mojganaz opened 5 years ago
I'm not sure if this repo includes generating polynomials, but in MATLAB it would be straightforward to do this as: https://www.mathworks.com/help/comm/ref/bchgenpoly.html.
Here's a Galois field library that can accomplish this: https://github.com/mhostetter/galois#numpy-ufunc-methods.
How can I use this code to generate a bch code with n = 127, k = 92? I am not sure how to define a GF(2^7) and how to use the bch to encode a message. I really appreciate your help.