# unwrapphase

Version:

Unwraps phase angles along the specific dimension.

## Syntax

q = unwrapphase(p)
q = unwrapphase(p, tol)
q = unwrapphase(p, tol, dim)
Legacy name: unwrap

## p

Phase angles. p is a scalar or an array of any dimension of real numbers.

## dim

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.

## q

Unwrapped angles in p. q is a matrix.

p = rand(10)*10
dim = 2
tol = 2
Q = unwrapphase(p, tol, dim)

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported