Description Usage Arguments Value Author(s) Examples
Produces a block code of a message.
1 | BlockEncode(message, block.encoder = NULL, visualize = FALSE)
|
message |
The message to be encoded. |
block.encoder |
Block encoder used for encoding. |
visualize |
If TRUE a beamer PDF file is generated showing the encode process. |
The encoded message as binary vector.
Benedikt Wimmer
1 2 3 4 5 6 7 8 9 10 11 | coder <- BlockGenerateEncoderBCH(15,3)
plain <- c(1,0,0,1,1)
# standard encoding
BlockEncode(plain, coder)
# standard encoding with visualization
# BlockEncode(plain, coder, visualize = TRUE)
# use default values
BlockEncode(plain)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.