15.2.4 Cardinal sine function:
sinc
The sinc function is defined by
sinc
(
x
)=
⎧
⎪
⎪
⎨
⎪
⎪
⎩
sin(
x
)
x
,
x
≠ 0,
1,
x
=0.
The
sinc
command computes the sinc function.
sinc
takes one argument:
x
, an expression.
sinc(
x
)
returns the value of the sinc function at
x
.
Examples.
Input:
sinc(pi*x)
Output:
sin
⎛
⎝
π
x
⎞
⎠
π
x
Input:
sinc(0)
Output:
1