Generate coefficients for 1D Savitzky-Golay smoothing filters
Version 1.1.0.0 (1.48 KB) by
Shao Ying Huang
function c = generate_savitzkyGolay_coef1D(order,interval)
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 (2024). 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 LinuxCategories
- Signal Processing > Signal Processing Toolbox > Signal Generation and Preprocessing > Smoothing and Denoising >
Find more on Smoothing and Denoising in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.