📄 gaussw.m
字号:
function w = gaussw(n, s)
% w = gaussw(n, s)
%
% gaussw calculates n-point window of the form of Gauss-curve.
%
% in: n length of the window
% s window parameter (default 0.45)
%
% out: w window in column vector
% (c) Heimo Ihalainen 24.7.1988
if nargin<2; s = 0.45; end
%
T = 2/(n-1)*((1:n)'-(n+1)/2); w = exp(-(T/s).^2);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -