fir1 | R Documentation |
FIR
filter designGenerate a fir1
filter that is checked against Matlab
fir1
function.
fir1(
n,
w,
type = c("low", "high", "stop", "pass", "DC-0", "DC-1"),
window = hamming,
scale = TRUE,
hilbert = FALSE
)
n |
filter order |
w |
band edges, non-decreasing vector in the range 0 to 1, where 1 is
the |
type |
type of the filter, one of |
window |
smoothing window function or a numerical vector. The filter is
the same shape as the smoothing window. When |
scale |
whether to scale the filter; default is true |
hilbert |
whether to use 'Hilbert' transformer; default is false |
The FIR
filter coefficients with class 'Arma'
.
The moving average coefficient is a vector of length n+1
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.