Jump to content

Talk:Overlap–add method

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Bob K (talk | contribs) at 12:49, 6 September 2007 (not displaying correctly (fixed)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

I suggest we mention that the overlap-save algorithm is a little better, because the final step is just a copy/move instead of an addition. Here is pseudocode:

   (Overlap-save algorithm for linear convolution)
   Evaluate the best value of NFFT and L
   H = FFT(h,NFFT)
   i = 1
   while i <= Nx
       il = min(i+NFFT-1,Nx)
       yt = IFFT( FFT(x(i:il),NFFT) * H, NFFT)
       y(i : i+NFFT-L-1) = yt(1+L : NFFT)
       i = i+L
   end

--Bob K 13:26, 31 July 2007 (UTC)[reply]