Compute the envelope of X using Hilbert transform. Compute the envelope of the signal matrix X using the Hilbert transform. To avoid long transforms, this function uses the overlap and add method.
Source:R/hilbert_env.R
hilbert_env.Rd
Compute the envelope of X using Hilbert transform.
Compute the envelope of the signal matrix X using the Hilbert transform. To avoid long transforms, this function uses the overlap and add method.
Arguments
- X
a vector or matrix of signals. If X is a matrix, each column is treated as a separate signal. The signals must be regularly sampled for the result to be correctly interpretable as the envelope.
- N
(optional) specifies the transform length used. The default value is 1024 and this may be fine for most situations.