Signal Processing Toolbox Previous page   Next Page

The Dirichlet Function

The toolbox function diric computes the Dirichlet function, sometimes called the periodic sinc or aliased sinc function, for an input vector or matrix x. The Dirichlet function is

where n is a user-specified positive integer. For n odd, the Dirichlet function has a period of ; for n even, its period is . The magnitude of this function is (1/n) times the magnitude of the discrete-time Fourier transform of the n-point rectangular window.

To plot the Dirichlet function over the range 0 to 4pi for n = 7 and n = 8, use


Previous page  The Sinc Function Working with Data Next page

© 1994-2005 The MathWorks, Inc.