Generate coefficients for 1D Savitzky-Golay smoothing filters

function c = generate_savitzkyGolay_coef1D(order,interval)
306 Downloads
Updated 4 Apr 2012

View License

INPUT:
order = order of the polynomial
interval = the window size; *MUST* smaller than size(vIN)

OUTPUT:
c(ss,nn)= a matrix
Rows corresponds to coefficients for the target point, g_t, at different location of the window (up >> down: g_t moves from left to right)

Cite As

Shao Ying Huang (2026). Generate coefficients for 1D Savitzky-Golay smoothing filters (https://www.mathworks.com/matlabcentral/fileexchange/35898-generate-coefficients-for-1d-savitzky-golay-smoothing-filters), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.1.0.0

The help file is rewritten.

1.0.0.0