Learn R Programming

IHSEP (version 0.3.1)

conv.seq: Sequence convolution conv.seq calculates the convolution of two sequences

Description

Sequence convolution conv.seq calculates the convolution of two sequences

Usage

conv.seq(x, y, real = TRUE)

Value

a numeric vector of length equal to length(x)+length(y), giving the convolution of x and y

Arguments

x,y

numeric vectors

real

logical value, indicating whether the result should be real valued

See Also

Examples

Run this code
conv.seq(1:5,1:4)
convolve(1:5,4:1,type="open")

Run the code above in your browser using DataLab