Y = sgolayfilt(X, K, F)
Y = sgolayfilt(X, K, F, W)
Y = sgolayfilt(X, K, F, W, DIM)
| Parameter | Description |
|---|---|
| X | input signal. |
| K | polynomial order. |
| F | frame length. |
| W | positive weighting vector. Use [] for default weights. |
| DIM | dimension to filter along. |
| Parameter | Description |
|---|---|
| Y | smoothed signal. |
sgolayfilt smooths data using Savitzky-Golay FIR coefficients.
y = sgolayfilt([1 2 3 2 1], 2, 5);
| Version | Description |
|---|---|
| 2.0.0 | initial version |