convolution: Linear convolution based on FFT

View source: R/conv.R

convolutionR Documentation

Linear convolution based on FFT

Description

If x (or w) is a numeric vector, it is converted into a one-column matrix. Then if x and B do not have the same number of column, then the first column of the matrix with the smallest number of column is repeated to match the dimension of the other matrix. match the dimension of the other matrix.

Usage

convolution(x, w)

Arguments

x

A numeric vector or matrix: the signal to be convolued with w.

w

A numeric vector or matrix: the wavelet.


emanuelhuber/RGPR documentation built on March 18, 2024, 8 p.m.