Function: pconv
PCONV  Periodic convolution
  Usage:  h=pconv(f,g)
          h=pconv(f,g,ftype); 

  PCONV(f,g) computes the periodic convolution of f and g. The convolution
  is given by

              L-1
     h(l+1) = sum f(k+1) * g(l-k+1)
              k=0

  PCONV(f,g,'r') computes the convolution where g is reversed
  (involuted) given by

              L-1
     h(l+1) = sum f(k+1) * conj(g(k-l+1))
              k=0

  This type of convolution is also known as cross-correlation.

  PCONV(f,g,'rr') computes the alternative where both f and g are
  reversed given by

              L-1
     h(l+1) = sum conj(f(-k+1)) * conj(g(k-l+1))
              k=0
    
  In the above formulas, l-k, k-l and -k are computed modulo L.

  The input arrays f and g can be 1D vectors or one of them can be
  a multidimensional array. In either case, the convolution is performed
  along columns with row vectors transformed to columns.

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

See also: dft, involute.

Package: ltfat