Documentation 
The Binary Cyclic Encoder block creates a systematic cyclic code with message length K and codeword length N. The number N must have the form 2^{M}1, where M is an integer greater than or equal to 3.
This block accepts a column vector input signal containing K elements. The out put signal is a column vector containing N elements.
You can determine the systematic cyclic coding scheme in one of two ways:
To create an [N,K] code, enter N and K as the first and second dialog parameters, respectively. The block computes an appropriate generator polynomial, namely, cyclpoly(N,K,'min').
To create a code with codeword length N and a particular degree(NK) binary generator polynomial, enter N as the first parameter and a binary vector as the second parameter. The vector represents the generator polynomial by listing its coefficients in order of ascending exponents. You can create cyclic generator polynomials using the Communications System Toolbox™ cyclpoly function.
For information about the data types each block port supports, see the Supported Data Type table on this page.
Port  Supported Data Types 

In 

Out 
