Skip to Content

smooth.fft {itsmr}

Apply a low pass filter
Package: 
itsmr
Version: 
1.5

Description

Apply a low pass filter

Usage

smooth.fft(x, f)

Arguments

x
Data vector
f
Cut-off frequency, 0-1

Details

The cut-off frequency is specified as a fraction. For example, c=.25 passes the lowest 25% of the spectrum.

Values

Returns a vector the same length as x.

Examples

y = smooth.fft(deaths,.1)
plotc(deaths,y)

Documentation reproduced from package itsmr, version 1.5. License: Unlimited