sinc | R Documentation |
Return the normalized or non-normalized sinc function. Returns 1 for x == 0 sinc(x) = sin(pi * x) / (pi * x) sinc(x) = sin(x) / (x)
sinc(x, normalized = TRUE)
x |
numeric |
normalized |
logical, return the normalized or non-normalized sinc function, defaults to TRUE |
x <- seq(-10, 10, length.out = 1000)
plot(x, sinc(x), type = "l")
lines(x, sinc(x)^2, col = "Red")
abline(h = 0)
x <- seq(-10, 10, length.out = 1000)
plot(x, sinc(x, normalized = FALSE), type = "l")
lines(x, sinc(x, normalized = FALSE)^2, col = "Red")
abline(h = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.