FUNCTION REFERENCE

unwrap

Correct phase angle jumps.

Correct phase angle jumps.

Syntax

Q = unwrap(P)

Syntax

Q = unwrap(P, tol)

Syntax

Q = unwrap(P, tol, dim)

Adds multiples of 2*pi where consecutive elements differ by at least tol

(default pi). Works along a row vector, otherwise down each column.

Example

unwrap([0 3 6.5 -3])   % [0 3 0.2168 3.2832]

Differences from MATLAB: real 2-D arrays only.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.