Compute and plot 1D and 2D Savitzky-Golay smoothing and differentiation filters.
Savitzky-Golay (GS)Filters are polynomial-based filters frequently used for processing of 2D Images.
A good basic introdution to these filters is found on net at:
The following MATLAB functions that compute GS-filters are available at the MATLAB File Exchange:
File IDs [4038; 5661; 4270; 6121; 7003; 5556; 6047; 6151]
This zip-folder contains two functions: ztrans1d.m and ztrans2d.m that compute the z-transform of any GS filter and plot its amplitude spectrum.
Following is a demo of these functions in action for 1D and 2D GS-filters.
Abdulwahab Abokhodair (2022). z-transform of 1D & 2D Savitzky-Golay Smoothing and Differentiation Filter (https://www.mathworks.com/matlabcentral/fileexchange/8922-z-transform-of-1d-2d-savitzky-golay-smoothing-and-differentiation-filter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- Signal Processing > Signal Processing Toolbox > Digital and Analog Filters > Digital Filter Analysis >
- Signal Processing > Signal Processing Toolbox > Signal Generation and Preprocessing > Smoothing and Denoising >
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Transforms > z-transforms >
- Mathematics and Optimization > Symbolic Math Toolbox > Mathematics > Calculus >
Inspired by: Savitzky-Golay Smoothing and Differentiation Filter, 2-D Savitzky-Golay Smoothing Filter, Savitzky-Golay Smoothing and Differentiation Filter, fSGolayFilt, Savitzky-Golay smoothing and differentiation filter (closed-formed solutions), Adaptive-Degree Polynomial Filter (Savitzky-Golay Filter), 2-D Savitzky-Golay Differentiation Filter, Adaptive-degree polynomial (Savitzky-Golay) filter for data differentiation
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!