This m-file simulates MPSK (theoretical and simulated) with Gray Coding
This m-file simulates MPSK (BPSK,QPSK,8PSK)with theoretical and simulated results using Gray Coding. Numerical examples of a satellite link design are shown using QPSK and/or 8PSK when the bit rate(Rb)is greater than the channel bandwidth Wc (Band-limited channel).
The MATLAB Coding style, project options and synthesis directives can have a significant effect on the final results. Knowledge about how a particular algorithm should be implemented in hardware can be reflected in the MATLAB code to improve the results. In doing so, the MATLAB loses a bit of its abstraction but the lower-level MATLAB will infer the desired architecture into the device.