bartlettse.m

来自「谱估计及阵列信号处理算法仿真库」· M 代码 · 共 24 行

M
24
字号
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 MN=length(y);if (M>N)   error('M is greater than the data length.');   returnendphi=welchse(y,ones(M,1),M,L);   % bartlett is a special case of welch.

⌨️ 快捷键说明

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