This matlab code on reed solomon and BCH encoding and different decoding algorithms. Also errors and erasures.