Learn R Programming

RSEIS (version 4.2-4)

envelope: Envelope Function with Hilbert Transform

Description

Envelope Function with Hilbert Transform

Usage

envelope(x)

Value

vector of the absolute of the hilbert transform

Arguments

x

signal vector

Author

Jonathan M. Lees<jonathan.lees.edu>

Details

Uses the hilbert transform to get the envelope function.

Examples

Run this code

data(CE1)
ev <- envelope(CE1$y)
plot(CE1$x, CE1$y, type='l')
lines(CE1$x,ev, col='red')


Run the code above in your browser using DataLab