Learn R Programming

hht (version 2.1.6)

InstantaneousFrequency: Derive instantaneous frequency

Description

Calculates instantaneous frequency from an analytic signal.

Usage

InstantaneousFrequency(asig, tt, method = "arctan", lag = 1)

Value

instfreq

Instataneous frequency in 1/time

Arguments

asig

Analytic signal produced by HilbertTransform

tt

Sample times

method

How the instantaneous frequency is calculated. "arctan" uses the arctangent of the real and imaginary parts of the Hilbert transform, taking the numerical derivative of phase for frequency. "chain" uses the analytical derivative of the arctangent function prior to performing the numerical calculation.

lag

Differentiation lag, see the diff function in the base package.

Author

Daniel C. Bowman danny.c.bowman@gmail.com

See Also

PrecisionTester