Description Usage Arguments Details Value Author(s) References See Also Examples
A Matlab/Octave compatible convolution function that uses the Fast Fourier Transform.
1 | conv(x, y)
|
x,y |
numeric sequences to be convolved. |
The inputs x
and y
are post padded with zeros as follows:
ifft(fft(postpad(x, n) * fft(postpad(y, n))))
where n = length(x) + length(y) - 1
An array of length equal to length(x) + length(y) - 1
.
If x
and y
are polynomial coefficient vectors,
conv
returns the coefficients of the product polynomial.
Original Octave version by Paul Kienzle pkienzle@user.sf.net. Conversion to R by Tom Short.
Octave Forge https://octave.sourceforge.io/
convolve
, fft
,
ifft
, fftfilt
, poly
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.