📄 rfb.m
字号:
function phi=rfb(y,K,L)
%
% The statically stable REFIL spectral estimator.
%
% phi=rfb(y,K,L);
%
% y <- the data vector (length N)
% K <- the ratio the baseband filter bandwidth to 1/N
% L <- the number of estimated spectral samples
% phi -> the estimated spectrum
%
% Copyright 1996 by R. Moses
y=y(:);
N=length(y); % data length
h=slepian(N,K,K); % get the first K Slepian filters
phi=abs(fft(flipud(h).*(y*ones(1,K)),L)).^2;
if (K > 1)
phi=mean(phi')';
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -