Function: nsgabframediag
NSGABFRAMEDIAG  Diagonal of Gabor frame operator
  Usage:  d=nsgabframediag(g,a,M);

  Input parameters:
        g     : Window function.
        a     : Length of time shift.
        M     : Number of channels.
  Output parameters:
        d     : Diagonal stored as a column vector

  NSGABFRAMEDIAG(g,a,M) computes the diagonal of the non-stationary
  Gabor frame operator with respect to the window g and parameters a*
  and M. The diagonal is stored as a column vector of length L=sum(a).

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

Url: http://ltfat.github.io/doc/nonstatgab/nsgabframediag.html

See also: nsdgt.

Package: ltfat