https://nl.mathworks.com/help/serdes/ref/pulse2impulse.html
pulse2impulse - Impulse response from pulse response - MATLAB
This MATLAB function converts a pulse response P to an impulse response I, given the number of samples per symbol N and uniform sampling interval dt.
impulse responsematlab