fourier_sin_cos: fourier_sin_cos
Description
fourier_sin_cos
Usage
fourier_sin_cos(x, a, b, tau)
Value
Fourier approximation or vector of Fourier approximations evaluated in x
Arguments
- x
argument for which the acf will be computed (this can be a vector)
- a
vector of coefficients a_0,...a_n
- b
vector of coefficients b_1,...b_n
- tau
period of function
Details
Computes the Fourier approximation of a function using
the sin-cos representation for given coefficients
a_0,...a_n, b_1, ...b_n