Function: psinc
PSINC   Periodic Sinc function (Dirichlet function)
  Usage:  f=psinc(L,n);

  PSINC(L,n) computes the periodic Sinc function of length L with
  n-1 local extrema. The DFT of the periodic Sinc function is the
  periodic rectangle, PRECT, of length n.

  Examples:
  ---------

  This figure displays a the periodic sinc function with 6 local extremas:

    plot(psinc(30,7));

Url: http://ltfat.github.io/doc/fourier/psinc.html

See also: prect.

Package: ltfat