Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

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

PortSupported Data Types
In
  • Double-precision floating point

  • Single-precision floating point

  • Boolean

  • 8-, 16-, and 32-bit signed integers

  • 8-, 16-, and 32-bit unsigned integers

  • Fixed-point

Out
  • Double-precision floating point

  • Single-precision floating point

  • Boolean

  • 8-, 16-, and 32-bit signed integers

  • 8-, 16-, and 32-bit unsigned integers

  • Fixed-point

Introduced before R2006a

Was this topic helpful?