Engee documentation

Unwrap

Removes the phase discontinuity of the signal.

unwrap

Description

The Unwrap block reconstructs each channel of the input signal by adding or subtracting a value multiple of 2π to each channel element. The block recognises phase discontinuities that exceed the Tolerance parameter.

Ports

Input

Port_1 - input signal
scalar | vector | matrix

Input signal for recovery. The phase of the input signal must be expressed in radians.

Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64.

Output

Port_1 - output signal
scalar | vector | matrix

Reconstructed signal.

The block retains the size and dimensionality of the input signal, and the sampling rate of the output signal is equal to the sampling rate of the input signal.

Data types: Float64.

Parameters

*Tolerance (radians)` - gap size
pi (by default) | scalar

The size of the gap that the block recognises as a true phase gap. By default it is set to π rather than smaller to avoid changing the natural characteristics of the signal.

To increase the sensitivity of the unit, set Tolerance to a value slightly smaller than π.