trackfreq: function to find the frequencies of a spectral object

Description Usage Arguments Value Author(s) Examples

Description

Find the frequencies of a spectral object.

Usage

1
trackfreq(specdata)

Arguments

specdata

A spectral object

Value

A vector of the frequencies at which the columns of a spectral matrix occur.

Author(s)

Jonathan Harrington

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
trackfreq(vowlax.dft.5)
# Frequency components between 1000 and 2000 Hz
trackfreq(vowlax.dft.5[,1000:2000])
# All frequency components of a trackdata object except the d.c. offset
trackfreq(fric.dft[,-1])
# All frequency components except the d.c. offset
# and except frequencies above 5000 Hz
trackfreq(fric.dft[,-c(1, 5000:20000)])
# Note the following syntax if the spectral object is a vector
# Frequencies 1000-3000 Hz
trackfreq(e.dft[1000:3000])

emuR documentation built on June 11, 2021, 5:10 p.m.