📄 window.m
字号:
function h=window(N,name,param,param2);%WINDOW Window generation.% H=WINDOW(N,NAME,PARAM,PARAM2)% yields a window of length N with a given shape.%% N : length of the window% NAME : name of the window shape (default : Hamming)% PARAM : optional parameter% PARAM2 : second optional parameters%% Possible names are :% 'Hamming', 'Hanning', 'Nuttall', 'Papoulis', 'Harris',% 'Rect', 'Triang', 'Bartlett', 'BartHann', 'Blackman'% 'Gauss', 'Parzen', 'Kaiser', '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 Kaiser-Bessel window, an optionnal parameter% sets the scale. The default value is 3*pi.%% 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);%% See also DWINDOW.% F. Auger, June 1994 - November 1995.% Copyright (c) 1996 by CNRS (France).%% ------------------- CONFIDENTIAL PROGRAM -------------------- % This program can not be used without the authorization of its% author(s). For any comment or bug report, please send e-mail to % f.auger@ieee.org %% References : % - F.J. Harris, "On the use of windows for harmonic% analysis with the discrete Fourier transform",% Proceedings of the IEEE, Vol 66, n
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -