Creates a window of length N with a given shape.
H=Cwindow(N,NAME) H=Cwindow(N,NAME,PARAM) H=Cwindow(N,NAME,PARAM,PARAM2)
a positive integer value: the length of the window
a character string : the name of the window shape (see below)
a real number: an optional parameter for 'Kaiser', "Spline" or "Nutbess" windows
a real number: a second optional parameters for "Spline" or "Nutbess" windows
a real column vector of length N: The window coefficients
Creates a window of length N with a given shape.
Possible names are :
'Hamming', 'Hanning', 'Kaiser', 'Nuttall', 'Papoulis', 'Sine', 'Harris', 'Rect', 'Triang', 'Bartlett', 'BartHann', 'Blackman' 'Gauss', 'Parzen', 'Powersine', 'Nutbess', 'spline', 'Flattop_ni', 'Flattop', 'Flattop_m', 'Flattop_srs'
With
With
The optional parameter PARAM gives the beta value. Its default value is 3*%pi.
With
With
With
With
For the gaussian window, the optionnal parameter K sets the value at both extremities. The default value is 0.005
Where L is the optionnal parameter (defaut value: 1)
The rectangular window (L = 0), the sine window (L = 1/2), and the Hann window (L = 1) are members of this family.
Where nfreq (frequency bandwidth) is given by the arguement PARAM and the spline order p is given by the optional parameter PARAM2 (default value %pi*N*nfreq/10).
Where nfreq (frequency bandwidth) is given by the arguement PARAM and the spline order p is given by the optional parameter PARAM2 (default value %pi*N*nfreq/10).
With
With
With
![]() | this function is similar to tftb_window but it is coded in C so it is more efficient |
h=Cwindow(256,'Gauss',0.005); plot(h); | ![]() | ![]() |