Fprint.m

From Spinach Documentation Wiki
Jump to: navigation, search

2D spectrum integral fingerprinting utility. Breaks the spectrum down into bins of user-specified size and returns the integrals over those bins. Syntax:

                    fp=fprint(spectrum,nbins)

Parameters:

     spectrum    - the matrix of a real or complex 2D spectrum
        nbins    - a vector with two integers, specifying the
                   number of bins in each spectral dimension

Note: spectrum matrix dimensions must be divisible by the corres- ponding element of nbins vector.