DADiSP Worksheet Functions > Function Categories > Fourier Transforms and Signal Processing > IFFTP2
Calculates the 2D IFFT in polar (magnitude - phase) form.
IFFTP2(array, rowlen, colen)
array |
- |
An array. |
rowlen |
- |
Optional. An integer, the IFFT row size. Defaults to |
collen |
- |
Optional. An integer, the IFFT column size. Defaults to |
A complex array.
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)}}
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.