<< Ctfrreas Miscellanaeous functions (C toolbox) Time-Frequency representations (C - Toolbox) >>

Time Frequency Toolbox >> Time Frequency Toolbox > Miscellanaeous functions (C toolbox) > Cwindow

Cwindow

Creates a window of length N with a given shape.

Parameters

N :

length of the window

NAME :

name of the window shape

PARAM :

optional parameter

PARAM2 :

second optional parameters

Description

Creates a window of length N with a given shape.

Possible names are :

'Hamming', 'Hanning', 'Nuttall', 'Papoulis', 'Harris', 'Rect', 'Triang', 'Bartlett', 'BartHann', 'Blackman' 'Gauss', 'Parzen', 'Dolph', 'Hanna', 'Nutbess', 'spline'

For the gaussian window, an optionnal parameter K sets the value at both extremities. The default value is 0.005

For the Spline windows, h=window(N,'spline',nfreq,p) yields a spline weighting function of order p and frequency bandwidth proportional to nfreq.

Examples

h=Cwindow(256,'Gauss',0.005); plot(h);

Authors

<< Ctfrreas Miscellanaeous functions (C toolbox) Time-Frequency representations (C - Toolbox) >>