Engee documentation

Phase/ Frequency Offset

Applies phase and frequency offsets to a complex base signal.

blockType: PhaseFrequencyOffset

Path in the library:

/Communication Systems/RF Impairments and Components/Phase/ Frequency Offset

Description

The Phase/Frequency Offset block applies phase and frequency offsets to the complex base signal.

Ports

Input

In — input signal
scalar | vector | the matrix

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

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

Support for complex numbers: Yes

Frq — pass frequency offset:q[<br>] scalar | vector | the matrix

The 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, check the box for the Frequency offset from port parameter.

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

Output

Out — pass output signal:q[<br>] scalar | vector | the matrix

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

Data types: Float64

Parameters

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

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

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

Frequency offset from port — adding a port to set the frequency offset
disabled (by default) | enabled

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.

  • turned off — the Frq port is hidden. The frequency offset is set by the parameter Frequency offset (Hz).

Frequency offset (Hz) — pass frequency offset:q[<br>] 0 (by default) | scalar | vector | the matrix

The 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, then they must have the same size.

Dependencies

To use this parameter, uncheck Frequency offset from port.

Algorithms

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

πττφπττφ ,

Where

  • — frequency offset;

  • φ — phase shift.

The output signal in discrete time has the form:

φφ

and

πφπφ ,

Where , and — the interval between the calculation steps.