![]() |
X is Input Sequence 1. |
![]() |
Y is Input Sequence 2. |
![]() |
X * Y is the convolution of X and Y. |
![]() |
error returns any error or warning from the VI. Refer to Signal Processing Error Codes for more information about these conditions. |
The Convolution VI is located on both the Time Domain palette and the Advanced FIR Filtering palette because you can use it in both time domain analysis and in filtering.
The Convolution VI computes the convolution of the input sequences X and Y as
,
where the symbol * denotes convolution.
For the discrete implementation of the convolution, let h represent the output sequence X * Y, let n be the number of elements in the input sequence X, and let m be the number of elements in the input sequence Y. Assuming that indexed elements of X and Y that lie outside their range are zero,
and
then you obtain the elements of h using
for i = 0, 1, 2, , size1, size = n+m1,
where size denotes the total number of elements in the output sequence X * Y.
This is not a circular convolution. Because x(t) * Y(t) X(f) Y(f) is a Fourier transform pair, you can create a circular version of the convolution using a diagram similar to the following diagram.