Engee documentation

Phase/ Frequency Offset

Applies phase and frequency offsets to a complex base signal.

phase frequency offset

Description

The Phase/Frequency Offset block applies phase and frequency offsets to a complex reference signal.

Ports

Input

In - input signal
scalar | vector | matrix

A complex input signal specified as a scalar, vector or matrix. The port is unnamed until Frequency offset from port is enabled.

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

Support for complex numbers: Yes

Frq - frequency offset
scalar | vector | matrix

A frequency offset specified as a scalar, a vector with the same number of rows or columns as the input signal, or a matrix with the same dimensions as the input signal.

Dependencies

To use this port, select the Frequency offset from port check box.

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

Output

Out - output signal
scalar | vector | matrix

Output signal returned as a scalar, vector or matrix. The output signal has the same dimensionality and data type as the input signal.

Data types: Float64.

Parameters

Phase offset (deg) - phase offset
0 (by default) | scalar | vector | matrix

Phase offset in degrees, specified as a scalar, vector or matrix.

If Phase offset (deg) and Frequency offset (Hz) are not scalar, they must have the same size.

Frequency offset from port - add port to set frequency offset
off (By default) | on

Select the checkbox to display the Frq port.

  • enabled - the Frq port is displayed on the block icon. The frequency offset is set by the signal on this port.

  • disabled - the Frq port is hidden. Frequency offset is set by the parameter Frequency offset (Hz).

Frequency offset (Hz) - frequency offset
0 (by default) | scalar | vector | matrix.

Frequency offset in hertz, specified as a scalar, a vector with the same number of rows or columns as the input signal, or a matrix with the same dimensions as the input signal.

If Phase offset (deg) and Frequency offset (Hz) are not scalar, they must have the same size.

Dependencies

To use this parameter, uncheck Frequency offset from port.

Read more

Algorithms

If the input signal is , then the output signal has the form

πττφπττφ ,

where

  • - frequency offset;

  • φ - phase offset.

The output signal in discrete time has the form:

φφ

и

πφπφ ,

where , and is the interval between calculation steps.