https://de.mathworks.com/help/comm/ref/dpcmdeco.html
dpcmdeco - Decode using differential pulse code modulation - MATLAB
This MATLAB function implements differential pulse code demodulation (DPCM) to decode the vector indx.
decodeusingdifferentialpulsemodulation