Function: gabframediag
GABFRAMEDIAG  Diagonal of Gabor frame operator
  Usage:  d=gabframediag(g,a,M,L);
          d=gabframediag(g,a,M,L,'lt',lt);

  Input parameters:
        g     : Window function.
        a     : Length of time shift.
        M     : Number of channels.
        L     : Length of transform to do.
        lt    : Lattice type (for non-separable lattices).
  Output parameters:
        d     : Diagonal stored as a column vector

  GABFRAMEDIAG(g,a,M,L) computes the diagonal of the Gabor frame operator
  with respect to the window g and parameters a and M. The
  diagonal is stored a as column vector of length L.

  The diagonal of the frame operator can for instance be used as a
  preconditioner.

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

See also: dgt.

Package: ltfat