Learn R Programming

mQTL (version 1.0)

sgolay: Find the matrix of differentiation filters

Description

designs a Savitzky-Golay (polynomial) FIR smoothing filter. The polynomial order must be less than the frame size which must be odd.

Usage

sgolay(k,F,W)

Arguments

k

polynomial order

F

frame size

W

weighting matrix

Value

matrix of differentiators

References

Sophocles J. Orfanidis, INTRODUCTION TO SIGNAL PROCESSING, Prentice-Hall, 1995, Chapter 8

See Also

sgolayDeriv

Examples

Run this code
# NOT RUN {
k <- 3
F <- 11

Sg=sgolay(k,F)
# }

Run the code above in your browser using DataLab