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

📄 minvar.m

📁 solution for the Statistical modelling for digital signal processing by hayes
💻 M
字号:
function Px = minvar(x,p)%MINVAR	Spectrum estimation using the minimum variance method.%----%USAGE	Px = minvar(x,p) %%	The spectrum of a process x is estimated using the minimum%	variance method (sometimes called the maximum likelihood%	method).%%	x  :  Input sequence%	p  :  Order of the minimum variance estimate - for short%		sequences, p is typically about length(x)/3%%	The spectrum estimate is returned in Px using a dB scale.%%---------------------------------------------------------------% copyright 1996, by M.H. Hayes.  For use with the book % "Statistical Digital Signal Processing and Modeling"% (John Wiley & Sons, 1996).%---------------------------------------------------------------%   x = x(:);   R = covar(x,p);   [v,d]=eig(R);   U = diag(inv(abs(d)+eps));   V  = abs(fft(v,1024)).^2;   Px = 10*log10(p)-10*log10(V*U);   end;

⌨️ 快捷键说明

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