BlockSimulation: Block Simulation.

Description Usage Arguments Value Author(s) Examples

Description

Simulation of a block encode and decode process over a noisy channel.

Usage

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)

Arguments

coder

Block coder used for the simulation. Can be created via BlockGenerateEncoderBCH or BlockGenerateEncoderHamming.

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.

Value

Dataframe containing the bit-error-rates for each SNR tested.

Author(s)

Benedikt Wimmer

Examples

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)

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