Publisher review:fSGolayFilt - Simple but fast Savitzky Golay filter. fSGolayFilt is a fast polynomial smoothing filter for uniformly spaced signals. This implementaion offers less flexibility than other versions found in the MATLAB Central (eg. from Jianwen Luo, YangQuan Chen or Vassili Pastushenko), but it is optimized for speed. A MEX script is used to accelerate the application of the projection matrix. As usual for Savitzy-Golay filters, the input signal is split into chunks, which are interpolated by polynomials of a specified order for smoothing.The speedup in comparison to the signal-processing-toolbox method SGOLAYFILT of MATLAB 5.3 is about 80-90% depending on signal length, number of channels and processor cache. Newer toolbox versions use the optimized BLAS routines, so in the worst case just 10% acceleration can be achieved. But if speed matters, try if this implementation is of need for your purpose (test routine included).Y = fSGolayFilt(X, K, F, [W])X: Noisy data, vector or matrixK: Polynomial orderF: Length of the moving windowW: Optional weighting factorsY: Smoothed data, same size as X Requirements: ยท MATLAB Release: R13SP1
fSGolayFilt is a Matlab script for Signal Processing scripts design by Jan Simon.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris