Content deleted Content added
Replace graphic depiction of algorithm with new version derived from Overlap-save method |
→Pseudocode: simplify |
||
Line 60:
==Pseudocode==
<font
h = FIR_impulse_response
Nx = length(x)
step_size = N -
H = DFT(h, N)
position = 0
y(1 : Nx + M-1) = 0
'''while''' position + step_size ≤ Nx
y(position+(1:N)) = y(position+(1:N)) + IDFT(DFT(x(position+(1:step_size)), N) × H)
position = position + step_size
== Cost of the overlap-add method ==
|