Main Content
The Sinc Function
The sinc
function computes the mathematical sinc function for an input vector or matrix . 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, with width and unit height:
To plot the sinc function for a linearly spaced vector with values ranging from to , use these commands:
x = linspace(-5,5); y = sinc(x); plot(x,y) grid