image thumbnail

2-D Savitzky-Golay Differentiation Filter

version (1.29 KB) by Jianwen Luo
2-D Savitzky-Golay Differentiation Filter.


Updated 02 Nov 2004

No License

2-D Savitzky-Golay Differentiation Filter.
Here the filter coefficients for the central point and the first order derivative (differentiation) is taken into account.

x = x data point, e.g., -3:3
y = y data point, e.g., -2:2
nx =x polynomial order default=1
ny =y polynomial order default=1
flag_coupling = with or without the consideration of the coupling terms, between x and y. default=0
Jianwen Luo <,> 2004-10-31
Department of Biomedical Engineering
Tsinghua University, Beijing 100084, P. R. China
[1]A. Savitzky and M. J. E. Golay, "Smoothing and Differentiation of Data by Simplified Least Squares Procedures,"
Analytical Chemistry, vol. 36, pp. 1627-1639, 1964.
[2]K. L. Ratzlaff and J. T. Johnson, "Computation of Two-Dimensional Polynomial Least-Squares Convolution Smoothing Integers,"
Analytical Chemistry, vol. 61, pp. 1303-1305, 1989.
[3]J. E. Kuo, H. Wang, and S. Pickup, "Multidimensional Least-Squares Smoothing Using Orthogonal Polynomials,"
Analytical Chemistry, vol. 63, pp. 630-635, 1991.
[5] J. W. Luo, K. Ying, P. He and J. Bai,
¡°Properties of Savitzky-Golay digital differentiators,¡±
Digital Signal Processing, in press.

Cite As

Jianwen Luo (2021). 2-D Savitzky-Golay Differentiation Filter (, MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!