unwrap - Maple Help

MTM

 unwrap
 element-wise unwrap

 Calling Sequence unwrap(A)

Parameters

 A - array

Description

 • The unwrap(M) function modifies phase angles in radians in the array M by adding integer multiples of 2*Pi to ensure the difference between consecutive elements in the result is less than Pi.

Examples

 > $\mathrm{with}\left(\mathrm{MTM}\right):$
 > $A≔⟨3.8699,0.62832,-1.2566,0⟩$
 ${A}{≔}\left[\begin{array}{c}{3.8699}\\ {0.62832}\\ {-1.2566}\\ {0}\end{array}\right]$ (1)
 > $\mathrm{unwrap}\left(A\right)$
 $\left[\begin{array}{c}{3.8699}\\ {6.911505308}\\ {5.026585308}\\ {6.283185308}\end{array}\right]$ (2)

Compatibility

 • The MTM[unwrap] command was introduced in Maple 2017.