compute the element-wise complex phase (angle) of an array of samples
Phase( A, options )
Phase( Br, Bi, options )
Array of complex numeric values; the signal
Array of real numeric values corresponding to the real and imaginary parts of the signal
container : (optional) Array, predefined Array for holding result
unwrap : (optional) truefalse, determines if the phases are unwrapped; default is false
The Phase(A) command computes the element-wise phase of the Array A and returns the result in an Array of datatype float.
The Phase(Br, Bi) command computes the element-wise phase of the complex numbers whose real and imaginary parts are stored separately in the Arrays Br and Bi and returns the result in an Array of datatype float.
Before the code performing the computation runs, the input Array(s) are converted to datatype complex (for the calling sequence with A) or float (for the calling sequence with Br and Bi) if they do not have this datatype already. For this reason, it is most efficient if the input Array(s) have this datatype beforehand.
If the container=C option is provided, then the results are put into C and C is returned. With this option, no additional memory is allocated to store the result. The container must be an Array having datatype float and the same size as A, Br or Bi.
If unwrap=true, then the phases are modified by adding integer multiples of 2*Pi, to ensure that the difference between consecutive elements in the result is less than Pi.
The SignalProcessing[Phase] command is thread-safe as of Maple 17.
For more information on thread safety, see index/threadsafe.
The SignalProcessing[Phase] command was introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
The SignalProcessing[Phase] command was updated in Maple 2021.
The unwrap option was updated in Maple 2021.
Download Help Document
What kind of issue would you like to report? (Optional)