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

 

IFFTP2

Purpose:

Calculates the 2D IFFT in polar (magnitude - phase) form.

Syntax:

IFFTP2(array, rowlen, colen)

array

-

An array.

rowlen

-

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

collen

-

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

Returns:

A complex array.

Example:

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

 

returns the complex polar array:

 

{{1*exp(i*0), 2*exp(i*0)}, 

 {3*exp(i*0), 4*exp(i*0)}} 

Remarks:

Since IFFTP2 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:

FFT2

FFTP

FFTP2

IFFT2

IFFTP