Description Usage Arguments Value References Examples
Computes the values of the one-dimensional Fourier basis functions at a vector of locations x and with a vector of frequencies m. The scaling factor of 2π is included, so that the function returns, e.g., √{2} \cos(2π m x).
1 | FourierBasis(a, m, x)
|
a |
Sine or cosine; a=0 gives cosine and a=1 gives sine. |
m |
Vector of frequencies m. |
x |
Vector of locations x. |
Returns the values of √{2} \cos(2π m x).
BKS2020USP
1 2 3 | e=FourierBasis(1,1:100,0.01); plot(0.01*(1:100),e,type="l")
e=FourierBasis(0,1,0.01*(1:100)); plot(0.01*(1:100),e,type="l")
FourierBasis(1,1:3,0.1*(1:10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.