asptleakynlms.m

来自「卡尔曼滤波器设计的一个例子」· M 代码 · 共 28 行

M
28
字号
% [w,y,e,p]= asptleakynlms(x,w,d,mu,a,p,b)
%%    Performs filtering and coefficient update using the 
%    Leaky Normalized Least Mean Squares algorithm. The
%    update equation is given by
%    w(n) = a * w(n-1) + mu * e(n) x(n)
% 	% Input Parameters [Size]:: %    x   : input samples delay line [L x 1]
%    w   : filter coefficients vector w(n-1) [L x 1]
%    d   : desired output d(n) [1 x 1]
%    mu  : adaptation constant
%    a   : leak factor (0 < a < 1)%    p   : last estimated power of x p(n-1) 
%    b   : AR pole for recursive calculation of p% Output parameters::
%    w   : updated filter coefficients w(n)
%    y   : filter output y(n)
%    e   : error signal; e(n) = d(n)-y(n)
%    p   : new estimated power of x p(n)
%
% SEE ALSO INIT_LEAKYNLMS, ECHO_LEAKYNLMS, ASPTNLMS, ASPTLMS
%       Author : John Garas PhD.%       Version 2.1, Release October 2002.%       Copyright (c) DSP ALGORITHMS 2000-2002.

⌨️ 快捷键说明

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