This is the matlab code for simulating the effect of dispersion modes on complex envelope of a signal. You can read about the signal processing details in this paper:
atamahjoubfar/dispersion-modes
A Matlab code for analyzing the effect of dispersion modes on the complex envelope of an arbitrary signal
MATLABMIT