Description Usage Arguments Value Author(s) Examples
Simulation of a block encode and decode process over a noisy channel.
1 2 3 | BlockSimulation(coder = NULL, msg.length = 100, min.db = 0.1,
max.db = 2, db.interval = 0.1, iterations.per.db = 100,
visualize = FALSE)
|
coder |
Block coder used for the simulation. Can be created via
|
msg.length |
Message length of the randomly created messages to be encoded. Will be shortened to a multiple of the coders blocksize |
min.db |
Minimum SNR to be tested. |
max.db |
Maximum SNR to be tested. |
db.interval |
Step between two SNRs tested. |
iterations.per.db |
Number of encode and decode processes per SNR. |
visualize |
If true a PDF report is generated. |
Dataframe containing the bit-error-rates for each SNR tested.
Benedikt Wimmer
1 2 3 4 5 6 | # use all default parameters
BlockSimulation()
# Custom coder
coder <- BlockGenerateEncoderHamming(15,11)
BlockSimulation(coder, 15, 0.01, 1, 0.05, 50, FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.