Check more information at
YangQuan Chen (2021). Savitzky-Golay Smoothing Filter (https://www.mathworks.com/matlabcentral/fileexchange/3514-savitzky-golay-smoothing-filter), MATLAB Central File Exchange. Retrieved .
A generalized framework called MaxPol has been recently published and made available here
MaxPol provides a framework to design variety of numerical differentiation kernels with properties like:
(1) Cutoff (lowpass) design with no side-lob artifacts
(2) Arbitrary order of differentiation
(3) Arbitrary polynomial accuracy
(4) Derivative matrix design
(5) 2D Derivative Kernels with Steering moments
(6) Intuitive examples in Signal and Image processing
Can you give an example with an input signal? It would help newbies like me a lot. Much appreciated!
There is a line in the file that does b=inv(A'*A)*h. That can be dangerously inaccurate, and slow. One should never multiply by the inverse. Use b=(A'*A)\h instead.
Brilliant! I've been looking for a long time to find a simple m file that can produce coefficients, including the starting and ending points, at any derivative.
AND I DIDN'T EVEN HAVE TO BUY THE Signal Processing TOOLBOX,
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!