Fast Fourier transform: Difference between revisions
Content added Content deleted
m (→Recursive) |
|||
Line 2,794: | Line 2,794: | ||
VAR |
VAR |
||
Ar : array |
Ar : array of complex ; |
||
x : integer ; |
x : integer ; |
||
Line 2,800: | Line 2,800: | ||
BEGIN |
BEGIN |
||
FOR x := 0 TO 3 DO |
|||
BEGIN |
|||
SetLength ( Ar, 8 ) ; |
|||
FOR x := 0 TO 3 DO |
|||
BEGIN |
|||
Ar [ x ] := 1.0 ; |
|||
Ar [ x + 4 ] := 0.0 ; |
|||
END; |
|||
WriteCTable ( FFT ( Ar ) ) ; |
WriteCTable ( FFT ( Ar ) ) ; |
||
SetLength ( Ar, 0 ) ; |
|||
END. |
END. |