| Signal Processing Toolbox | ![]() |
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 4
for n = 7 and n = 8, use
| The Sinc Function | Working with Data | ![]() |