hilbert {seewave} | R Documentation |
This function returns the analytic signal of a time wave through Hilbert transform.
hilbert(wave, f)
wave |
a vector , a matrix (first column),
an object of class ts , Sample (left channel),
or Wave (left channel). |
f |
sampling frequency of wave (in Hz).
Does not need to be specified if wave is an object of class ts ,
Sample , or Wave . |
The analytic signal is useful to get the amplitude envelope
(see argument henv
of oscillo
and the instantaneous
phase or frequency (see ifreq
) of a time wave.
hilbert
returns the analytic signal as a complex matrix.
The imaginary part of this matrix is the Hilbert transform.
To get the Hilbert component only, use Im(Hilbert(wave))
.
Jonathan Lees jonathan.lees@unc.edu
Mbu Nyamsi, R. G., Aubin, T. & Bremond, J. C. 1994 On the extraction of some time dependent parameters of an acoustic signal by means of the analytic signal concept. Its application to animal sound study. Bioacoustics, 5: 187-203.
ifreq
, argument henv
of oscillo
a<-synth(f=8000, d=1, cf=1000) aa<-hilbert(a, f=8000)