Assignment:
Write a MATLAB program that implements a differential encoder and a differential decoder for a M = 4-DPSK system. Check the operation of the encoder and decoder by passing a sequence of 2-bit symbols through the cascade of the encoder and decoder and verify that the output sequence is identical to the input sequence.
Provide complete and step by step solution for the question and show calculations and use formulas.