Content deleted Content added
update text because of a change in Figure 1 |
split a footnote into two |
||
Line 30:
With the substitution {{math|j ≜ n-kL}}, the task is reduced to computing {{math|y{{sub|k}}(j)}}, for '''''M''''' ≤ {{mvar|j}} ≤ '''''L'' +'' M'' − 1'''. These steps are illustrated in the first 3 traces of Figure 1, except that the desired portion of the output (third trace) corresponds to '''''1''''' ≤ {{mvar|j}} ≤ '''''L''.{{efn-ua
|
If we periodically extend ''x''<sub>''k''</sub>[''n''] with period ''N'' ≥ ''L'' + ''M'' − 1, according to''':'''
Line 45:
*The leading and trailing edge-effects of circular convolution are overlapped and added,{{efn-ua
|Not to be confused with the [[Overlap-add method]], which preserves separate leading and trailing edge-effects.
}} and subsequently discarded.{{efn-ua
|1=The edge effects can be moved from the front to the back of the IDFT output by replacing <math>\scriptstyle \text{DFT}_N \displaystyle (h[n])</math> with <math>\scriptstyle \text{DFT}_N \displaystyle (h[n+M-1]) =\ \scriptstyle \text{DFT}_N \displaystyle (h[n+M-1-N]),</math> meaning that the N-length buffer is ''circularly-shifted'' (rotated) by M-1 samples. Thus the h(M) element is at n=1. The h(M-1) element is at n=N. h(M-2) is at n=N-1. Etc.}}
==Pseudocode==
|