https://www.mathworks.com/help/signal/ref/sgolayfilt.html
sgolayfilt - Savitzky-Golay filtering - MATLAB
This MATLAB function applies a Savitzky-Golay finite impulse response (FIR) smoothing filter of polynomial order m and frame length fl to the data in vector x.
savitzkygolayfilteringmatlab
https://www.mathworks.com/matlabcentral/answers/1735000-finding-the-first-order-derivative-of-a-data-series-using-the-savitzky-golay-filter
Finding the first order derivative of a data series using the Savitzky-Golay filter. - MATLAB...
Finding the first order derivative of a data... Learn more about sgolay, savitzky golay filter MATLAB, Signal Processing Toolbox