Produce the Fourier transform of a power gain function in the form of an autocovariance
sequence.
Usage
covgen(lag, f, gain, plot=TRUE)
Arguments
lag
desired maximum lag of covariance.
f
frequency f(i) $(i=1,...,k)$, where $k$ is the number of data points.
By definition f(1) = 0.0 and f(k) = 0.5, f(i)'s are arranged in increasing order.
gain
power gain of the filter at the frequency f(i).
plot
logical. If TRUE (default) autocorrelations are plotted.
Value
acovautocovariance.
acorautocovariance normalized.
References
H.Akaike, E.Arahata and T.Ozaki (1975) Computer Science Monograph, No.5,
Timsac74, A Time Series Analysis and Control Program Package (1).
The Institute of Statistical Mathematics.