hilbert: Hilbert transform Calculates the Hilbert transform of a...

Description Usage Arguments Value Examples

View source: R/hilbert.R

Description

Hilbert transform Calculates the Hilbert transform of a vector or columns of a matrix

Usage

1

Arguments

x

Vector or matrix

Value

Hilbert transform of x

Examples

1
2
3
4
5
6
7
x <- seq(0, 1, by=0.001)[1:1000]
y <- sin(6*pi*x)
H <- hilbert(y)
plot(y, ty='l', ylim=range(y, Re(H), Im(H)))
lines(abs(H), col=2, lwd=2)
lines(Re(H), col=3)
lines(Im(H), col=4)

tunelipt/wutils documentation built on Nov. 5, 2019, 11:01 a.m.