Main Content

Calculate Complex Phase Difference Between QPSK Modulated Signals

The model generates random integers and applies QPSK modulation. The first QPSK modulator has a phase offset of 0, while the second has a pi/4 phase offset.

The Complex Phase Difference block determines the phase difference. The data is passed to the workspace by using the To Workspace (Simulink) block.

Run the model and display the calculated phase difference.

The calculated phase difference is: -0.7854

The phase difference from the second input to the first input is equal to -pi/4 as expected.