Skip to main content
Engineering LibreTexts

12.1: Introduction

  • Page ID
  • Skills to Develop

    • Learn methods to do convolution by FFT more efficiently.

    One of the main applications of the FFT is to do convolution more efficiently than the direct calculation from the definition which is:

    \[y(n)=\sum h(m)x(n-m)\]

    which, with a change of variables, can also be written as:

    \[y(n)=\sum x(m)h(n-m)\]

    This is often used to filter a signal \(x(n)\) with a filter whose impulse response is \(h(n)\). Each output value \(y(n)\) requires \(N\) multiplications and \(N-1\) additions if \(y(n)\) and \(h(n)\) have \(N\) terms. So, for \(N\) output values, on the order of \(N^2\) arithmetic operations are required.

    Because the DFT converts convolution to multiplication:

    \[\text{DFT}y(n)=\text{DFT}\left \{ h(n)\text{DFT}x(n)\right \}\]

    can be calculated with the FFT and bring the order of arithmetic operations down to \(N\log (N)\) which can be significant for large \(N\).

    This approach, which is called “fast convolutions", is a form of block processing since a whole block or segment of \(x(n)\) must be available to calculate even one output value, \(y(n)\). So, a time delay of one block length is always required. Another problem is the filtering use of convolution is usually non-cyclic and the convolution implemented with the DFT is cyclic. This is dealt with by appending zeros to \(x(n)\) and \(h(n)\) such that the output of the cyclic convolution gives one block of the output of the desired non-cyclic convolution.

    For filtering and some other applications, one wants “on going" convolution where the filter response \(h(n)\) may be finite in length or duration, but the input \(x(n)\) is of arbitrary length. Two methods have traditionally used to break the input into blocks and use the FFT to convolve the block so that the output that would have been calculated by directly implementing the above equations, can be constructed efficiently. These are called “overlap-add" and “over-lap save".

    • ContribEEBurrus