Previous Up Next

21.1.4 Cardinal sine function

The sinc function is defined by

sinc(x)=
⎧
⎪
⎪
⎨
⎪
⎪
⎩
sin(x)
x
,
x≠ 0,
1,x=0.

The sinc command computes the sinc function.

Examples

sinc(pi*x)
sin ⎛
⎝
π x⎞
⎠
π x
          
sinc(0)
1           

Previous Up Next