kayMarpleExample <- function(t) {
## we expect t=1,2,..., N
## see P and W page 480
## Kay and Marple (1981) page 1386
res <- 0.9 * cos(2 * pi * t / 7.5) +
0.9 * cos((2 * pi *t / 5.3) + pi/2) +
cos(2 * pi * t / 3)
res
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.