pskmod, awgn, rayleigh – matlab

Notes from – pskmod: Modulate signal using M-PSK method https://au.mathworks.com/help/comm/ref/pskmod.html

The pskmod function performs M-ary Phase Shift Keying (M-PSK) modulation, converting input symbols (X) into a complex baseband signal (Y).

Key Syntax

  • Y = pskmod(X, M): Modulates input X using modulation order M.
  • Y = pskmod(X, M, phaseoffset): Specifies the constellation’s phase offset (in radians).
  • Y = pskmod(X, M, phaseoffset, symorder): Specifies the symbol mapping order.

data = randi([0 M-1], 1000, 1);

txSig = pskmod(data, M, pi/M);

Adding fading to simulation models a more complex and realistic wireless channel where the signal strength fluctuates. The most common model for fading in non-line-of-sight environments is the Rayleigh fading channel.

Leave a Reply

Your email address will not be published. Required fields are marked *

error: