Y = step(H,X)
Y = step(H,X) encodes input binary data, X, using a (CodewordLength,MessageLength) BCH encoder with the corresponding narrow-sense generator polynomial and returns the result in vector Y. Input X must be a numeric or logical column vector with length equal to an integer multiple of the message length stored in the MessageLength property. A group of MessageLength input elements represents one message word to be encoded. The length of the encoded data output vector, Y, is an integer multiple of (CodewordLength - number of punctures). You specify the number of punctures with the PuncturePatternSource and PuncturePattern properties.
Note: The object performs an initialization the first time the step method is executed. This initialization locks nontunable properties and input specifications, such as dimensions, complexity, and data type of the input data. If you change a nontunable property or an input specification, the System object™ issues an error. To change nontunable properties or inputs, you must first call the release method to unlock the object.