lanczos_hp: Create a high-pass Lanczos filter

Description Usage Arguments Value Examples

View source: R/lanczos.R

Description

Compute coefficients of a high-pass Lanczos filter

Usage

1
lanczos_hp(n, high)

Arguments

n

length of filter; must be odd

high

cutoff frequency of the filter (Nyquist = 0.5)

Value

non-negative time filter coefficients (filter is symmetric about 0).

Examples

1
2
f <- lanczos_hp( 7, 0.4 )
print( f )

jrevenaugh/TSAUMN documentation built on Nov. 8, 2019, 2:20 p.m.