Magnitude and Phase |
mag(a) Returns a vector containing the magnitudes of the elements in the complex array a.
makeri(magvec, phasevec) Returns a vector of complex numbers whose magnitudes and phases are contained in magvec and phasevec.
phase(a) Returns a vector containing the phases of the elements in the complex array a.
phasecor(phasevec) Returns a vector generated from the vector of phases v by removing jump discontinuities.
Ambiguity in angle selection can cause the phase of the output vector to differ from the phase of the input vector. The two vectors will agree up to multiples of 2π.
If an element in magvec is negative, its absolute value is interpreted as the desired magnitude, and the corresponding element in phasevec is advanced π radians.