Maxima Function
polartorect (magnitude_array, phase_array)
Translates complex values of the form r %e^(%i t) to the form a + b %i.
load ("fft") loads this function into Maxima. See also .
The magnitude and phase, r and t, are taken from magnitude_array and
phase_array, respectively. The original values of the input arrays are
replaced by the real and imaginary parts, a and b, on return. The outputs are
calculated as
The input arrays must be the same size and 1-dimensional. The array size need not be a power of 2.
polartorect is the inverse function of recttopolar.