⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bartlettse.m

📁 bartlettse比传统谱估计方法更精确
💻 M
字号:
function phi = bartlettse(y,M,L)
%
% The Bartlett method of spectra estimation.
%
% phi=bartlettse(y,M,L);
%
%      y -> the data vector
%      M -> the length of subsequences of y
%      L -> the number of psd samples
%
%    phi <- spectral estimates at L frequencies w=0, 2*pi/L, ..., 2*pi(L-1)/L

% Copyright 1996 by R. Moses


% check the lenth M
N = length(y);
if (M>N)
   error('M is greater than the data length.');
   return
end

phi = welchse(y,ones(M,1),M,L);   % bartlett is a special case of welch.

⌨️ 快捷键说明

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