makeSignals: Generate test signals for simulation

Description Usage Arguments Value Examples

Description

Generates some of the test signals used the standard nonparametric deconvolution literature.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11

Arguments

n

An integer specifying the length of the desired signal.

Value

A numeric vector of length n giving the desired test signal.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
n <- 1024
x <- (1:n)/n
signal <- makeLIDAR(n)
plot(x, signal, main = 'LIDAR test signal', type = 'l')
signal <- makeBumps(n)
plot(x, signal, main = 'Bumps test signal', type = 'l')
signal <- makeDoppler(n)
plot(x, signal, main = 'Doppler test signal', type = 'l')
signal <- makeCusp(n)
plot(x, signal, main = 'Cusp test signal', type = 'l')
signal <- makeBlocks(n)
plot(x, signal, main = 'Blocks test signal', type = 'l')
signal <- makeHeaviSine(n)
plot(x, signal, main = 'HeaviSine test signal', type = 'l')

mwaved documentation built on July 13, 2017, 5:03 p.m.