envelope {RSEIS}R Documentation

Envelope Function with Hilbert Transform

Description

Envelope Function with Hilbert Transform

Usage

envelope(x)

Arguments

x

signal vector

Details

Uses the hilbert transform to get the envelope function.

Value

vector of the absolute of the hilbert transform

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

Examples


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



[Package RSEIS version 4.2-0 Index]