fgentrig | R Documentation |
Generates sin(pi*j*(1:n)/n) (odd) and cos(pi*j*(1:n)/n) (even) for j=1,...,m for a given sample size n.
fgentrig(n,m)
n |
Sample size |
m |
Maximum order of sine and cosine functions |
x The functions sin(pi*j*(1:n)/n) (odd) and cos(pi*j*(1:n)/n) (even) for j=1,...,m.
trig<-fgentrig(36,36)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.