Main Content

Convolution of two signals

The `dsp.Convolver`

System object™ convolves the first dimension of an *N*-D input array,
*u*, with the first dimension of an *N*-D input array,
*v*. You can convolve the inputs in the time domain or frequency domain. In
the time domain, the object convolves the first input with the second input. In the frequency
domain, the object multiplies the Fourier transforms of both the inputs, and computes the
inverse Fourier transform of the product. In this domain, depending on the input length, the
object can require fewer computations. For more information on the two computation methods,
see Algorithms.

To convolve two inputs:

Create the

`dsp.Convolver`

object and set its properties.Call the object with arguments, as if it were a function.

To learn more about how System objects work, see What Are System Objects?.

creates a convolution
System object, `cnv`

= dsp.Convolver`cnv`

, to convolve two inputs in the time domain or
frequency domain.

creates a convolution System object, `cnv`

= dsp.Convolver(`Name,Value`

)`cnv`

, with each specified property set to the specified
value. Enclose each property name in single quotes.

```
cnv = dsp.Convolver('Method','Frequency
Domain')
```

To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named `obj`

, use
this syntax:

release(obj)