<< unshiftdata FOSSEE Signal Processing Toolbox upfirdn >>

FOSSEE Signal Processing Toolbox >> FOSSEE Signal Processing Toolbox > unwrap2

unwrap2

Unwrap radian phases by adding or subtracting multiples of 2*pi.

Calling Sequence

B = unwrap(X)
B = unwrap(X, TOL)
B = unwrap(X, TOL, DIM)

Parameters

Description

This function unwraps radian phases by adding or subtracting multiples of 2*pi as appropriate to remove jumps greater than TOL.

TOL defaults to pi.

Unwrap will work along the dimension DIM. If DIM is unspecified it defaults to the first non-singleton dimension.

Examples

unwrap2([1,2,3])
ans =
1.    2.    3.

Report an issue
<< unshiftdata FOSSEE Signal Processing Toolbox upfirdn >>