Maps complex-valued phase-shift keying (PSK) symbols to an output bit stream based on a user-specified symbol map.

##### Programming Patterns
Use this node in conjunction with MT Matched Filter, MT Align to Ideal Symbols, MT Decimate Oversampled Waveform, and MT Calculate BER to perform waveform analysis on the modulated waveform.
Note

The mapping of symbols to bits depends on the number of bits per symbol, which equals ${\mathrm{log}}_{2}\left(M\right)$ with M representing the size of the modulation scheme. For example, in a 256-QAM system, 500 QAM symbols are mapped to $\left(500\right)×{\mathrm{log}}_{2}\left(256\right)=4000\text{\hspace{0.17em}}\text{\hspace{0.17em}}message\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}bits$.

## symbols

The incoming complex-valued symbols to be mapped to the output bit stream based on the symbol map.

## symbol map

An ordered array that maps each symbol value to its desired coordinates in the complex plane.

The number of PSK states in the array must be 2 N , where N is the number of bits per symbol. To specify a prebuilt map, unbundle the symbol map element from the PSK system parameters cluster generated by MT Generate PSK System Parameters (M) or MT Generate PSK System Parameters (map).

## PSK type

Type of PSK modulation.

 normal Sets the modulation type to regular PSK. shifted Rotates the constellation by $\pi$/M each symbol. offset Sets the modulation type to offset quadrature phase-shift keying (OQPSK). This modulation scheme is a form of phase-shift keying in which four different phase angles are used. This scheme is sometimes referred to as staggered quadrature phase-shift keying (SQPSK). For offset PSK, the ideal symbol timing for Q is offset by 1/2 of a symbol period from the ideal symbol timing for I. offset is currently only supported for M= 4.

Default: normal

## carrier phase correction

Carrier phase correction applied to the symbol array prior to mapping. The correction overcomes the starting phase ambiguity during shifted-PSK demodulation.

Use this parameter when the PSK modulation type parameter is set to shifted and the differential PSK parameter is set to disable.

Default: 0.0

## error in

Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

Default: no error

## differential PSK

A value that indicates how the PSK modulation represents symbols.

Differential operation is used to implement PSK formats such as differential quadrature PSK (DQPSK) and $\pi$/4-DQPSK.

 disable Symbols are represented as constellation points. enable Symbols are represented as the transitions between constellation points.

Default: disable

## reset?

A Boolean that determines whether stored state information is cleared on each call to this node.

When the input bit stream is not comprised of an integer number of symbols, the carryover bits are buffered.

 TRUE Clears the buffered data, checks the input parameters on a first call, and reflects any change in the input parameter values during subsequent iterations. FALSE Adds the buffered data to the beginning of data from next iteration, in continuous operations.

Default: TRUE

## output bit stream

A bit stream with a one-to-one mapping to the input symbols based on the specified symbol map.

## error out

Error information. The node produces this output according to standard error behavior.