Binary Linear Encoder
Create linear block code from binary vector data
Block sublibrary of Error Detection and Correction
The Binary Linear Encoder block creates a binary linear block code using a generator matrix that you specify. If K is the message length of the code, then the Generator matrix parameter must have K rows. If N is the codeword length of the code, then Generator matrix must have N columns.
This block accepts a column vector input signal containing K elements. This block outputs a column vector with a length of N elements. For information about the data types each block port supports, see Supported Data Type.
- Generator matrix
A K-by-N matrix, where K is the message length and N is the codeword length.
Supported Data Type
|Port||Supported Data Types|
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced before R2006a