Contents

pskmod

Phase shift keying modulation

Syntax

y = pskmod(x,M)
y = pskmod(x,M,ini_phase)
y = pskmod(x,M,ini_phase,symbol_order)

Description

y = pskmod(x,M) outputs the complex envelope y of the modulation of the message signal x using phase shift keying modulation. M is the alphabet size and must be an integer power of 2. The message signal must consist of integers between 0 and M-1. The initial phase of the modulation is zero. If x is a matrix with multiple rows and columns, the function processes the columns independently.

y = pskmod(x,M,ini_phase) specifies the initial phase of the modulation in radians.

y = pskmod(x,M,ini_phase,symbol_order) specifies how the function assigns binary words to corresponding integers. If symbol_order is set to 'bin' (default), the function uses a natural binary-coded ordering. If symbol_order is set to 'gray', it uses a Gray constellation ordering.

Examples

The example on the pskdemod reference page uses this function.

Was this topic helpful?