Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

fft returns the fft of a list.

Parameter Description
lst List of real/complex numbers operated on

Example

Example 1: Calculate FFT and IFFT of an array

> (fft (list 1 1 0 0))
(2.+0.i 1.-1.i 0.+0.i 1.+1.i)
> (ifft (list 1 1 0 0))
(.5+0.i .25+.25i 0.+0.i .25-.25i)
Clone this wiki locally