next up previous contents
Next: 40 init_ vsslms Up: 4 Transversal and Linear Previous: 38 init_ tdlms   Contents


39 init_ vffrls

Purpose
Creates and initializes the variables required for the Variable Forgetting Factor Recursive Least Squares (VFFRLS) adaptive algorithm.

Syntax
[w,x,d,y,e,R,k] = init_vffrls(L,b)
[w,x,d,y,e,R,k] = init_vffrls(L,b,w0,x0,d0)



Description
The variables of the VFFRLS are summarized below.
Input Parameters:: 

   L  : Adaptive filter length
   b  : a small +ve constant to initialize R 
   w0 : initial coefficient vector  
   x0 : initial input samples vector 
   d0 : initial desired sample

Output parameters [default]::

   w  : Initialized filter coefficients [zeros]
   x  : Initialized input vector [zeros]
   d  : Initialized desired sample [white noise]
   y  : Initialized filter output [y = w' * x]
   e  : Initialized error sample [e = d - y]
   R  : Initialized inverse of the weighted 
        auto correlation matrix of x, [R=b*eye(L)]
   k  : Initialized gain vector.


Example
L  = 5;           % Number of coefficients 
w0 = [0;0;1;0;0]; % initial filter coefficients 
x0 = rand(5,1);   % initial delay line
d0 = 0;           % desired sample

% Create and initialize the VFFRLS FIR filter
[w,x,d,y,e,R,k]=init_vffrls(L,0.1,w0,x0,d0);

Remarks
  • asptvffrls() supports both real and complex signals and filters.
  • Use input parameters 3 through 5 to initialize the algorithm storage. This is helpful when the adaptation process is required to start from a known operation point calculated off-line or from previous simulations.

See Also
ASPTVFFRLS, TEST_ VFFRLS.


next up previous contents
Next: 40 init_ vsslms Up: 4 Transversal and Linear Previous: 38 init_ tdlms   Contents