FourierSeries2fun | R Documentation |
Compute the value of the Fourier summation series
f(x) = \frac{a_0}{2} +
\sum_{k=1}^{p_a} a_k \cos{(\frac{2\pi}{T}k(x-t_0))} +
\sum_{k=1}^{p_b} b_k \sin{(\frac{2\pi}{T}k(x-t_0))},
\qquad x\in[t_0,t_0+T]
at some certain point(s).
FourierSeries2fun(object, x)
## S4 method for signature 'Fourier_series,numeric'
FourierSeries2fun(object, x)
object |
an object of |
x |
Value of |
A numeric atomic vector
Heyang Ji
fsc = Fourier_series(
double_constant = 0.5,
cos = c(0,0.3),
sin = c(1,0.7),
k_cos = 1:2,
)
FourierSeries2fun(fsc,1:5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.