Description Usage Arguments Details Value
Estimates a transfer function between the columns of input x
and the response
y
.
1 2 3 4 5 6 | tf(x, y, blockSize = dim(x)[1], overlap = 0, deltat = 1, nw = 4,
k = 7, nFFT = NULL, method = c("svd", "sft", "robust", "svdBendat"),
lOrd = NULL, adaptiveWeighting = TRUE, interactionOrder = 0,
freqRange = NULL, maxFreqOffset = NULL, cohSigCutoff = 0.9,
useZeroOffset = TRUE, nOffsetFreq = -1, standardize = TRUE,
prewhiten = TRUE, removePeriodic = TRUE, asMatrix = TRUE)
|
x |
A |
y |
A single column |
blockSize |
A |
overlap |
A |
deltat |
A |
nw |
A |
k |
A |
nFFT |
A |
method |
A |
lOrd |
A vector with length == numColumns of x. The order of the regression for svdBendat method. |
adaptiveWeighting |
A |
interactionOrder |
An |
freqRange |
A vector of length 2 containing the endpoints of the frequency range over which to calculate the offset coherences (these are central frequencies of the response). |
maxFreqOffset |
A |
useZeroOffset |
A |
nOffsetFreq |
An |
standardize |
Should the inputs and outputs be standardized to have mean = 0 and standard deviation = 1? |
prewhiten |
NOT CURRENTLY IMPLEMENTED. |
removePeriodic |
NOT CURRENTLY IMPLEMENTED. |
asMatrix |
A |
Takes the times series inputs and response, divides these series into
(optionally) overlapping blocks, tapers each block with Discrete
Prolate Spheriodal Sequences (DPSS's or Slepian sequences), Fourier transforms each
block, uses the adaptive weights (method = "svd"
) and then estimates the
transfer function at each frequency between the Fourier
transforms of the inputs and the response.
The method
argument indicates how the transfer function should be estimated.
method = "sft"
does the following; 1) a slow Fourier transform is used, 2) no
adaptive weights are used and 3) the matrix definition of the regression coefficients
are used:
$(X^tX)^-1)X^-1y$
method = "svd"
uses 1) the FFT, 2) adaptive weights, and 3) a singular value
decomposition method for estimating the regression coefficients.
method = "svdBendat"
decorrelates the inputs prior to estimating the transfer functions, then
obtains the appropriate transfer function after (see Chapter 7.3 of Bendat & Piersol).
Overall - method = "svdBendat"
is in all probability the better method to use.
An object of class transfer
, consisting of a complex matrix whose
columns are the individual transfer function for each input, and several attributes
describing the transfer function estimate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.