Does anyone have ook noncoherent demodulation simulation in MATLAB comparing the results to the theoretical formula?

I am implementing the ook noncoherent demodulation simulation in MATLAB, e.g., having a time domain signal, adding noise, etc.

And my results, Symbol error rate vs ES/N0, has some bias compared to the theoretical formula.

Similar questions and discussions