This function computes the Fourier analysis of the instantaneous
frequency of a time wave. This allows to detect periodicity
in frequency modulation.
Usage
fma(wave, f, threshold = NULL, plot = TRUE, ...)
Arguments
Value
If plot is FALSE, fma returns a numeric vector
corresponding to the computed spectrum.
If peaks is not NULL, fma returns a list with
two elements:
specthe spectrum computed
peaksthe peaks values (in kHz).
Details
This function is based on ifreq and spec.
The instantaneous frequency of wave is first computed and the spectrum of this
frequency modulation is then processed. All env and spec arguments can be
set up.