Unwraps phase angles along the specific dimension.
q = unwrapphase(p)
q = unwrapphase(p, tol)
q = unwrapphase(p, tol, dim)
Phase angles. p is a scalar or an array of any dimension of real numbers.
Jump tolerance. tol is a real number. The default is pi.
Dimension along which MathScript unwraps p. dim an be in a range of 1 to the maximum supported array dimension (32). If you do not specifydim, MathScript unwraps p along the first dimension whose size is not equal to 1.
Unwrapped angles in p. q is a matrix.