![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
Savitzky-Golay differentiation.
There are two ways to use it:
Definition in file diff_sg.m.
Go to the source code of this file.
Functions | |
function | diff_sg (in X, in x, in order, in porder, in ncoeff) |
function diff_sg | ( | in | X, |
in | x, | ||
in | order, | ||
in | porder, | ||
in | ncoeff | ||
) |
First case is when second parameter (x) is passed as an []
X | Matrix |
x | x-axis values corresponding to the columns of X |
order | Differential order. Accepted values: 1 or 2 |
porder | Polynomial order |
ncoeff | Number of filter coefficients. Must be off |