View source: R/spectral_methods.R
HilbertEnvelope | R Documentation |
Generates the instantaneous amplitude of an analytic signal given by HilbertTransform
HilbertEnvelope(asig)
asig |
The analytic signal returned by |
envelope |
Instantaneous amplitude |
Daniel C. Bowman danny.c.bowman@gmail.com
HilbertTransform
, InstantaneousFrequency
tt <- seq(1000) * 0.01
sig <- sin(4 * pi * tt) + sin(3.4 * pi * tt)
asig <- HilbertTransform(sig)
env <- HilbertEnvelope(asig)
plot(tt, sig, type = "l")
lines(tt, env, col = "red")
lines(tt, -env, col = "red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.