encyclopegia.org

Overlap–add method

In signal processing, the overlap–add method is an efficient way to evaluate the discrete convolution of a very long signal x[n] with a finite impulse response (FIR) filter h[n] : where h[m] = 0 for m outside the region [1,M].[src] This article uses common abstract notations, such as y(t) = x(t) * h(t), or y(t) = \mathcal{H}\{x(t)\}, in which it is understood that the functions should be thought of in their totality, rather than at specific instants t (see Convolution#Notation).[src]

In signal processing, the overlap–add method is an efficient way to evaluate the discrete convolution of a very long signal x[n] with a finite impulse response (FIR) filter h[n] : where h[m] = 0 for m outside the region [1,M].[src]   This article uses common abstract notations, such as y(t) = x(t) * h(t), or y(t) = \mathcal{H}\{x(t)\}, in which it is understood that the functions should be thought of in their totality, rather than at specific instants t (see Convolution#Notation).[src] ==Algorithm== The concept is to divide the problem into multiple convolutions of h[n] with short segments of x[n] : x_k[n]\ \triangleq\ \begin{cases} x[n + kL], & n = 1, 2, \ldots, L\\ 0, & \text{otherwise}, \end{cases} where L is an arbitrary segment length.[src] Then: x[n] = \sum_{k} x_k[n - kL],\, and y[n] can be written as a sum of short convolutions: \begin{align} y[n] = \left(\sum_{k} x_k[n - kL]\right) * h[n] &= \sum_{k} \left(x_k[n - kL] * h[n]\right)\\ &= \sum_{k} y_k[n - kL], \end{align} where the linear convolution y_k[n]\ \triangleq\ x_k[n] * h[n]\, is zero outside the region [1,L+M-1].[src] And for any parameter N \ge L + M - 1,\, it is equivalent to the N -point circular convolution of x_k[n]\, with h[n]\, in the region [1,N].[src]   The advantage is that the circular convolution can be computed more efficiently than linear convolution, according to the circular convolution theorem: where: DFT N and IDFT N refer to the Discrete Fourier transform and its inverse, evaluated over N discrete points, and L is customarily chosen such that N=L+M-1 is an integer power-of-2, and the transforms are implemented with the FFT algorithm, for efficiency.[src] ==Pseudocode== The following is a pseudocode representation of the algorithm: (Overlap-add algorithm for linear convolution) h = FIR_filter M = length(h) Nx = length(x) N = 8 × 2^ceiling( log2(M) ) (8 times the smallest power of two bigger than filter length M.[src] See next section for a slightly better choice.) step_size = N - (M-1) (L in the text above) H = DFT(h, N) position = 0 y(1 : Nx + M-1) = 0 while position + step_size ≤ Nx do y(position+(1:N)) = y(position+(1:N)) + IDFT(DFT(x(position+(1:step_size)), N) × H) position = position + step_size end ==Efficiency considerations== When the DFT and IDFT are implemented by the FFT algorithm, the pseudocode above requires about complex multiplications for the FFT, product of arrays, and IFFT.[src] Each iteration produces output samples, so the number of complex multiplications per output sample is about: For example, when M=201 and N=1024, equals 13.67, whereas direct evaluation of would require up to 201 complex multiplications per output sample, the worst case being when both x and h are complex-valued.[src] Also note that for any given M, has a minimum with respect to N.[src] Figure 2 is a graph of the values of N that minimize for a range of filter lengths ( M ).[src] Instead of , we can also consider applying to a long sequence of length N_x samples.[src] The total number of complex multiplications would be: N_x\cdot (\log_2(N_x) + 1).[src] Comparatively, the number of complex multiplications required by the pseudocode algorithm is: N_x\cdot (\log_2(N) + 1)\cdot \frac{N}{N-M+1}.[src] Hence the cost of the overlap–add method scales almost as O\left(N_x\log_2 N\right) while the cost of a single, large circular convolution is almost O\left(N_x\log_2 N_x \right) .[src] The two methods are also compared in Figure 3, created by MATLAB simulation.[src] The contours are lines of constant ratio of the times it takes to perform both methods.[src] When the overlap-add method is faster, the ratio exceeds 1, and ratios as high as 3 are seen.[src] ==See also== Overlap–save method Circular_convolution#Example ==Notes== ==References== ==Further reading==[src]

21 sentences · 21 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Overlap–add method." encyclopegia.org, 2026, https://encyclopegia.org/wiki/overlap-add-method. Accessed 27 November 2026.

Chicago

"Overlap–add method." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/overlap-add-method.

APA

encyclopegia.org. (2026). Overlap–add method. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/overlap-add-method

Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Java remote method invocation

stub · references available

H2O: Just Add Water

stub · references available

mutator method

stub · references available

Optical add-drop multiplexer

stub · references available

list of H2O: Just Add Water episodes

stub · references available

Flexibility method

stub · references available

generalized method of moments

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1337801119 · 0.5 · snapshot enwiki-001337801119

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.