Home > WaCoLab > package > borrowed > WindowFT2.m

WindowFT2

PURPOSE ^

WindowFT -- Windowed Fourier Transform

SYNOPSIS ^

function specgm = WindowFT2(sig,w,m,Name,titl)

DESCRIPTION ^

 WindowFT -- Windowed Fourier Transform
  Usage
    specgm = WindowFT(sig,w,m,Name,titl)
  Inputs
    sig      1-d signal
    w        window half-length, default = n/2
    m        inter-window spacing, default=1
    Name     string: 'Rectangle', 'Hanning', 'Hamming',
             'Gaussian', 'Blackman'; Default is 'Rectangle'
    titl     Optional Title String Modifier
  Outputs
    specgm   Window Fourier Transform of sig, n+1 by n complex matrix
  Side Effects
    Image Plot of the Window Fourier Transform
  Description
  Algorithm
     supposes signal is non-periodic, i.e. zero-padded
  Example
    sig = ReadSignal('Caruso');
    sig = sig(1:128);
    specgm = WindowFT(sig);
  See Also
    MakeWindow IWindowFT
  References
    Mallat, "A Wavelet Tour in Signal Processing";
            4.2.3 Discrete Windowed Fourier Transform.
  Note
    A very minor adaptation of the Wavelab850 routine
    only the line   specgmShow = abs(specgm(1:(n/2+1),:));
    is changes into specgmShow = abs(specgm(1:(round(n/2)+1),:));

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 12-Oct-2007 20:23:47 by m2html © 2003