Number of correctable errors for BCH code
Calculate the possible message length combinations for a BCH code word length of 15.
T = bchnumerr(15)
T = 15 11 1 15 7 2 15 5 3
Calculate the number of correctable errors for BCH code 15,11
T = bchnumerr(15,11)
T = 1
Codeword length, specified as an integer scalar. N must have the form 2m-1 for some integer, m, between 3 and 16.
Data Types: single | double
Number of correctable errors, returned as a scalar or matrix value.
bchnumerr(N) returns a matrix with three columns. The first column lists N, the second column lists K, and the third column lists T.
bchnumerr(N, K) returns a scalar, which represents the number of correctable errors for the BCH code.