SINC Function

Computes the sine of the input divided by the input.

Usage

result = SINC(x)

Input Parameters

x—The value at which sin(x)/x is evaluated.

Returned Value

result—The sine of the input divided by the input.

Keywords

None.

Discussion

SINC computes sin(x)/x for all . Specifically:

 

where e = (machine precision)1/2.

The SINC function is used in the sampling theorem in the frequency domain of the Fourier integral.

Example

In this example SINC is computed for x = 0, 1, and p.

x = [0.0, 1.0, !Pi]
PM, SINC(x)
; 1.0000000
; 0.84147098
; -2.7827534e-08

See Also

SIGNAL