fourier.inverse {freqdom} | R Documentation |
Coefficients of a discrete Fourier transform
Description
Computes Fourier coefficients of some functional represented by an object of class freqdom
.
Usage
fourier.inverse(F, lags = 0)
Arguments
F |
an object of class |
lags |
lags of the Fourier coefficients to be computed. |
Details
Consider a function . Its
-th Fourier
coefficient is given as
We represent the function by an object of class
freqdom
and approximate the integral via
for lags.
Value
An object of class timedom
. The list has the following components:
-
operators
an array. The
-th matrix in this array corresponds to the
-th Fourier coefficient.
-
lags
the lags of the corresponding Fourier coefficients.
See Also
Examples
Y = rar(100)
grid = c(pi*(1:2000) / 1000 - pi) #a dense grid on -pi, pi
fourier.inverse(spectral.density(Y, q=2, freq=grid))
# compare this to
cov.structure(Y)
[Package freqdom version 2.0.5 Index]