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

ifft2 returns the 2d-ifft of a list of lists.

Parameter Description
lstlst List of lists of real/complex numbers operated on

Example

Example 1: Calculate IFFT of a matrix

> (ifft2 (list (list 1 2 3 4 5 6 7 8)(list 1 2 3 4 5 6 7 8)
              (list 1 2 3 4 5 6 7 8)(list 1 2 3 4 5 6 7 8)
              (list 1 2 3 4 5 6 7 8)(list 1 2 3 4 5 6 7 8)
              (list 1 2 3 4 5 6 7 8)(list 1 2 3 4 5 6 7 8)))
((4.5+0.i
  -.5-1.2071068286895752i
  -.5-.5i
  -.5-.20710676908493042i
  -.5+0.i
  -.5+.20710676908493042i
  -.5+.5i
  -.5+1.2071068286895752i)
 (0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i)
 (0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i)
 (0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i)
 (0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i)
 (0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i)
 (0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i)
 (0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i 0.+0.i))
Clone this wiki locally