Documentation Center

  • Trial Software
  • Product Updates



Phase shift keying modulation


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


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.


The examples in Create 16-PSK Constellation Scatter Plot and on the reference page for pskdemod use this function.

See Also

| | | | | | |

Was this topic helpful?