cwindow.m

来自「Time-Frequency Toolbox,其中包含很常用的MATLAB程序」· M 代码 · 共 23 行

M
23
字号
%CWINDOW Window generation.% H=WINDOW(N,NAME,PARAM,PARAM2)%% Creates a window of length N with a given shape.%% N      = length of the window% NAME   = name of the window shape% PARAM  = optional parameter% PARAM2 = second optional parameters% % 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.% % 	Example : h=window(256,'Gauss',0.005); plot(h);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?