Communications Blockset    
Binary Linear Encoder

Create a linear block code from binary vector data

Library

Block sublibrary of Channel Coding

Description

The Binary Linear Encoder block creates a binary linear block code using a generator matrix that you provide in the parameter mask. 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.

The input must contain exactly K elements. If it is frame-based, then it must be a column vector. The output is a vector of length N.

Dialog Box

Generator matrix
A K-by-N matrix, where K is the message length and N is the codeword length.

Pair Block

Binary Linear Decoder


  Binary Linear Decoder Binary-Output RS Decoder