Window generation
H = tftb_window(N) H = tftb_window(N, NAME) H = tftb_window(N, NAME, PARAM) H = tftb_window(N, NAME, PARAM, PARAM2) H = tftb_window(...,'plot')
length of the window
name of the window shape (default : Hamming)
optional parameter
second optional parameters
if one input parameter is 'plot', the window will be plotted
yields a window of length N with a given shape.
Possible names are :
'Hamming', 'Hanning', 'Nuttall', 'Papoulis', 'Harris',
'Rect', 'Triang', 'Bartlett', 'BartHann', 'Blackman'
'Gauss', 'Parzen', 'Kaiser', 'Dolph', 'Hanna'.
'Nutbess', 'spline', 'Flattop'
For the gaussian window, an optionnal parameter K sets the value at both extremities. The default value is 0.005
For the Kaiser-Bessel window, an optionnal parameter sets the scale. The default value is 3*pi.
For the Spline windows, h=tftb_window(N,'spline',nfreq,p) yields a spline weighting function of order p and frequency bandwidth proportional to nfreq.