Matlab tool to process an input laser signal and return the modulated output pulse sequence.