
The Sinc Function
2-13
The Sinc Function
The sinc function computes the mathematical sinc function for an input vector or
matrixx. Viewed as a function of time, or space, the sinc function is the inverse Fourier
transform of the rectangular pulse in frequency centered at zero of width 2π and height
1. The following equation defines the sinc function:
sin
.
p
p p
w
w
p
p
x
x
e d
j x
=
-
Ú
1
2
The sinc function has a value of1 when x is equal to zero, and a value of
for all other elements of x.
To plot the sinc function for a linearly spaced vector with values ranging from –5 to5, use
the following commands:
x = linspace(-5,5);
y = sinc(x);
plot(x,y)
Commenti su questo manuale