Function: gabprojdual
GABPROJDUAL   Gabor Dual window by projection
  Usage:  gd=gabprojdual(gm,g,a,M)
          gd=gabprojdual(gm,g,a,M,L)

  Input parameters:
        gm    : Window to project.
        g     : Window function.
        a     : Length of time shift.
        M     : Number of modulations.
        L     : Length of transform to consider
  Output parameters:
        gd    : Dual window.

  GABPROJDUAL(gm,g,a,M) calculates the dual window of the Gabor frame given
  by g, a and M closest to gm measured in the l^2 norm. The
  function projects the suggested window gm onto the subspace of
  admissable dual windows, hence the name of the function.

  GABPROJDUAL(gm,g,a,M,L) first extends the windows g and gm to
  length L.

  GABPROJDUAL(...,'lt',lt) does the same for a non-separable lattice
  specified by lt. Please see the help of MATRIX2LATTICETYPE for a
  precise description of the parameter lt.

Url: http://ltfat.github.io/doc/gabor/gabprojdual.html

See also: gabdual, gabtight, gabdualnorm, fir2long.

Package: ltfat