next up previous contents
Next: 35 init_ rdrnlms Up: 4 Transversal and Linear Previous: 33 init_ rcpbfdaf   Contents


34 init_ rdrlms

Purpose
Creates and initializes the variables required for the Recent Data Reusing Least Mean Squares algorithm.

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



Description
The variables of the RDRLMS are summarized below (see Fig. 2.6).
Input Parameters [Size] :: 
  L  : number of filter coefficients
  k  : number of data reusing cycles.
  w0 : initial coefficient vector [L x 1] 
  x0 : initial input samples vector [L+k x 1] 
  d0 : initial desired sample [k+1 x 1] 

Output parameters [default] ::
  w  : initialized filter coefficients [zeros]
  x  : initialized input vector [zeros]
  d  : initialized desired vector [white noise]
  y  : Initialized filter output 
  e  : initialized error sample [d - y]


Example

L  = 5;             % Number of coefficients 
k  = 2;             % number of reusing cycles
w0 = [0;0;1;0;0];   % initial filter coefficients 
x0 = rand(L+k,1);   % initial delay line
d0 = rand(k+1,1);   % desired sample

% Create and initialize a RDRLMS FIR filter
[w,x,d,y,e]=init_rdrlms(L,k,w0,x0,d0);

Remarks
  • 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
ASPTRDRLMS.


next up previous contents
Next: 35 init_ rdrnlms Up: 4 Transversal and Linear Previous: 33 init_ rcpbfdaf   Contents