Wavelet Frequency Scale

Share:

Description

Get frequencies associated with the wavelet transform.

Usage

1
scal2freqs(octs, dt, plot = FALSE)

Arguments

octs

number of octaves

dt

sample rate, s

plot

logical, TRUE=plot

Details

Use morelet wavelet to estimate frequency from wavelet transform.

Value

frequency values

Author(s)

Jonathan M. Lees<jonathan.lees.edu>

See Also

Mmorlet, fft

Examples

1
2
3
4
5
6
7
8
9
noctave <- 6
nvoice <- 20
dt <- 0.004
i1 <- sort(rep(c(1:noctave), times=nvoice))
  jj <- rep(c(0:(nvoice-1)), times=noctave)

  sa <- 2^(i1+jj/nvoice)

  efs <- scal2freqs(sa, dt)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.