DADiSP Worksheet Functions > Function Categories > Fourier Transforms and Signal Processing > IFFT2

 

IFFT2

Purpose:

Calculates the 2D IFFT of an array.

Syntax:

IFFT2(a, rowlen, collen)

a

-

An array.

rowlen

-

Optional. An integer, the IFFT row size. Defaults to numrows(a).

collen

-

Optional. An integer, the IFFT column size. Defaults to numcols(a).

Returns:

A complex array.

Example:

ifft2(fft2({{1, 2}, {3, 4}}))

 

returns the complex array

 

{{1+0i, 2+0i},

 {3+0i, 4+0i}} 

Remarks:

Since IFFT2 returns a complex result, the result can be converted into real form using the REAL function.

 

If rowlen is larger than the number of input rows or collen is greater than the number input of columns, the input is zero-padded.

 

If the input data is a series (i.e. a single column), a 1D IFFT is performed.

See Also:

FCONV2D

FFT2

IFFT