File Exchange

image thumbnail

Savitzky-Golay Smoothing Filter

version 1.0.0.0 (806 Bytes) by YangQuan Chen
FIR filter design via local moving window LS fitting - A magic smooth and derivative formula

4 Downloads

Updated 02 Jun 2003

No License

Cite As

YangQuan Chen (2021). Savitzky-Golay Smoothing Filter (https://www.mathworks.com/matlabcentral/fileexchange/3514-savitzky-golay-smoothing-filter), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (7)

Mahdi S. Hosseini

A generalized framework called MaxPol has been recently published and made available here
https://www.mathworks.com/matlabcentral/fileexchange/63294-maxpol-smoothing-and-differentiation-package

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

yang chen

Judy

Can you give an example with an input signal? It would help newbies like me a lot. Much appreciated!

Tim Davis

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.

faul prasodjo

good

Reuben Bergsten

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,
Thank You

X MAN

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: fSGolayFilt

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!