Binary Linear Encoder
Create linear block code from binary vector data
Library
Block sublibrary of Error Detection and Correction
Description
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.
Parameters
- 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 |
---|---|
In |
|
Out |
|
Pair Block
Extended Capabilities
Version History
Introduced before R2006a