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

📄 corlnm2.m

📁 Least Mean Square Newton Algorithm
💻 M
字号:
function R=corlnm2(h,N)
%This function obtains the correlation matrix of the output
%of an FIR filter which is derived by a white noise, and its
%coefficients are given in vector "h".
%"N" specifies the dimensions of "R".
%
%	R=corlnm2(h,N)
j=sqrt(-1);
a=size(h);
if a(1)>a(2)
   h=h';
end
m=length(h);

for k=1:N
	if k<=m
		R(k)=h(k:m)*h(1:m-k+1)';
	else	R(k)=0; end
end
R=toeplitz(R);

⌨️ 快捷键说明

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