Savitzky-Golay Smoothing and Differentiation Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: sgsdf.zip
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Jianwen Luo (View more)

Savitzky-Golay Smoothing and Differentiation script description:




Publisher review:
Savitzky-Golay Smoothing and Differentiation Filter - The sgolay function in Matlab can deal with only symmetrical and uniformly spaced data of even number. The Savitzky-Golay smoothing/differentiation filter (i.e., the polynomial smoothing/differentiation filter, or the least-squares smoothing/differentiation filters) optimally fit a set of data points to polynomialsof 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 filtercoefficients 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=1dn = differentation order (0=smoothing), default=0x0 = estimation point, default=0flag = numerical(0) or symbolical(1), default=0fc = 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) Requirements: ยท MATLAB Release: R13
Savitzky-Golay Smoothing and Differentiation is a Matlab script for Signal Processing scripts design by Jianwen Luo. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5