# Savitzky-Golay Smoothing and Differentiation 1.0

OS : Windows / Linux / Mac OS / BSD / Solaris
Script Licensing : Freeware
Created : Sep 7, 2007
Thank you for voting...

## The Savitzky-Golay smoothing/differentiation filter ...

The savitzky-golay_smoothing/differentiation filter (i. e. , the polynomial smoothing/differentiation filter,
or the least-squares smoothing/differentiation_filter) optimally fit a set of data points to polynomials
of different degrees.
See for detail in Matlab Documents (help sgolay). The sgolay function in Matlab can deal with only symmetrical and uniformly spaced data of even number.
This function presented here is a general implement of the sgolay function in Matlab. The Savitzky-Golay filter
coefficients for even number, nonsymmetrical and nonuniformly spaced data can be obtained. And the filter coefficients for the initial point or the end point can be obtained too. In addition, either numerical results or symbolical results can be obtained.
Usage:
fc = sgsdf(x, n, dn, x0, flag)
x = the original data point, e. g. , -5:5
n = polynomial order, default=1
dn = differentation order (0=smoothing), default=0
x0 = estimation point, default=0
flag = numerical(0) or symbolical(1), default=0
fc = filter coefficients obtained.
Notes:
1. x can be arbitrary, e. g. , odd number or even number, symmetrical or nonsymmetrical, uniformly spaced
or nonuniformly spaced, etc.
2. x0 can be arbitrary, e. g. , the initial point, the end point, etc.
3. Either numerical results or symbolical results can be obtained.
Example:
sgsdf([-3:3], 2, 0, 0, 0)
sgsdf([-3:3], 2, 0, 0, 1)
sgsdf([-3:3], 2, 0, -3, 1)
sgsdf([-3:3], 2, 1, 2, 1)
sgsdf([-2:3], 2, 1, 1/2, 1)
sgsdf([-5:2:5], 2, 1, 0, 1)
sgsdf([-1:1 2:2:8], 2, 0, 0, 1)
Demands:
• MATLAB Release: R13

Savitzky-Golay Smoothing and Differentiation 1.0 scripting tags: sgolay, results, spaced, filter, smoothing, data, signal processing, savitzky-golay smoothing, differentiation filter, point. What is new in Savitzky-Golay Smoothing and Differentiation 1.0 software script? - Unable to find Savitzky-Golay Smoothing and Differentiation 1.0 news. What is improvements are expecting? Newly-made Savitzky-Golay Smoothing and Differentiation 1.1 will be downloaded from here. You may download directly. Please write the reviews of the Savitzky-Golay Smoothing and Differentiation. License limitations are unspecified.