Calculates (normalized) sinc values for each element of a vector/matrix/... etc.,
$$sinc(x) = \frac{sin(\pi x)}{\pi x}, x \neq 0$$
If $x = 0, sinc(x)$ is defined as $1$ (removable singularity in zero).
Usage
sinc(X)
Arguments
X
an arbitrary vector/matrix/... containing numbers
Value
an vector/matrix/... of same size as the argument containing the sinc values for each element