TurboGetPunctuationMatrix: Create a punctuation matrix from a vector.

Description Usage Arguments Value Examples

Description

This is a helper function to create a correct punctuation matrix. The punctuation.vector should only contain 0 and 1 and has to be a length which is a multiple of 3. The resulting punctuation matrix should not contain a 0 column because this could cause an error during decoding.

Usage

1
TurboGetPunctuationMatrix(punctuation.vector, visualize = FALSE)

Arguments

punctuation.vector

Vector which will be mapped to the matrix.

visualize

Flag to visualize the resulting punctuation matrix.

Value

Punctuation matrix for encoder and decoder.

Examples

1
TurboGetPunctuationMatrix(c(1, 1, 0, 1, 0, 1), TRUE)

DaniWi/Channelcoding documentation built on May 6, 2019, 1:23 p.m.