# Convolution

**URL:** <https://www.ruby-forum.com/t/convolution/237516>\
**Category:** GNU Radio\
**Created:** [November 17, 2013, 2:51pm UTC](https://www.ruby-forum.com/t/convolution/237516 "2013-11-17T14:51:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [November 17, 2013, 2:51pm UTC](https://www.ruby-forum.com/t/convolution/237516/1 "2013-11-17T14:51:24Z")

</div>

Hi. I’m new to GNU Radio but have experience with basic DSP (using  
MATLAB for instance). Which blocks can I use to do these simple  
tasks:

1. Convolution with an arbitrary (constant) wave in the time domain?  
Example: I provide the wave as a fixed series of constants, I’d like  
to convolute with it.

2. The same thing in the frequency domain?

---

<div class="post-metadata">

**Author:** ![robertjames](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e9c0ed/32.png) [@robertjames](https://www.ruby-forum.com/u/robertjames)\
**Post date:** [November 17, 2013, 5:36pm UTC](https://www.ruby-forum.com/t/convolution/237516/2 "2013-11-17T17:36:10Z")

</div>

On Sun, Nov 17, 2013 at 8:32 AM, Robert J. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Hi. I’m new to GNU Radio but have experience with basic DSP (using  
> MATLAB for instance). Which blocks can I use to do these simple  
> tasks:
> 
> 1. Convolution with an arbitrary (constant) wave in the time domain?  
> Example: I provide the wave as a fixed series of constants, I’d like  
> to convolute with it.
> 
> 2. The same thing in the frequency domain?

The fir\_filter\_XXX does time-domain convolution. You’d pass it a  
decimation of 1 and the taps would be the signal you want to convolve  
against.

The fft\_filter\_XXX does fast convolution in the frequency domain.

> **[GNU Radio Manual and C++ API Reference: Filter Signal Processing Blocks](https://www.gnuradio.org/doc/doxygen/page_filter.html)**

Tom
