polarform SciMax Toolbox poly_add

SciMax Toolbox >> polartorect

polartorect

Maxima Function

Calling Sequence

polartorect (magnitude_array, phase_array)

Description

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

a: r cos (t)
b: r sin (t)

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.

polarform SciMax Toolbox poly_add