Binary Linear Encoder

Create 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 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.

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.

This block supports double and boolean data types.

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

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS