Description Usage Arguments Details Value See Also Examples

View source: R/makeFunctions.R

Create blur of the box car type.

1 | ```
boxcarBlur(n, width)
``` |

`n` |
An integer specifying the number of observations in each channel |

`width` |
A numeric vector of length m where each element specifies the box car widths to blur in each channel. |

Creates a matrix of dimension n by m which contains a normalised (unit energy in each column) set of box car blur functions. The generated box-car functions are governed by an input vector `BA`

which specifies the box car width. For the method to adhere to the theory described in Wishart (2014), the box car widths should be a Badly Approximable (BA) number.

A n by m matrix of normalised box car blur.

1 2 3 4 5 6 7 8 9 10 11 12 13 | ```
n <- 1024
width <- 1/sqrt(c(89,353))
# Plot the box car blur
blurMat <- boxcarBlur(n, width)
x <- (1:n)/n
matplot(x, blurMat, type = 'l', main = paste('Set of box car blur functions'))
# Plot a LIDAR signal and its multichannel box car blurred version
signal <- makeLIDAR(n)
matplot(x, signal, type = 'l', main = 'LIDAR test signal')
blurredSignal <- blurSignal(signal, blurMat)
matplot(x, blurredSignal, type = 'l', main = 'Box car blurred LIDAR test signals')
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.