next up previous contents
Next: 16 init_ rlslfpef Up: 5 Lattice Adaptive Algorithms Previous: 14 init_ rlslattice2   Contents


15 init_ rlslbpef

Purpose
Creates and initializes the variables required for the RLS Lattice Backward Prediction Error Filter.

Syntax
[ff,bb,fb,cf,b,y,e,kf,kb,x]=init_rlslbpef(L)
[ff,bb,fb,cf,b,y,e,kf,kb,x]=init_rlslbpef(L,ff0,bb0,fb0,cf0,b0,x0)



Description
Figure 5.21: Block diagram of the backward prediction error filter.
The block diagram of the RLS-Lattice backward prediction error filter is shown in Fig. 5.21 while the details of the RLS lattice structure showing its internal variables can be seen in Fig. 5.19. A summary of those variables is given below.
Input Parameters [Size]:: 
  L   : number of predictor stages 
  ff0 : initial autocorr. of forward prediction error [Lx1]
  bb0 : initial autocorr. of backward prediction error [Lx1]
  fb0 : initial crosscorrelation of f and b [Lx1]
  cf0 : initial conversion factor [Lx1]
  b0  : initial vector of backward prediction error [L+1 x 1]
  x0  : initial input delay line [L+1 x 1]
Output parameters [Default]::
  ff  : autocorr. of forward prediction error [.001*ones(L,1)]
  bb  : autocorr. of backward prediction error [.001*ones(L,1)]
  fb  : crosscorrelation of f and b [zeros]
  cf  : conversion factor [ones]
  b   : vector of backward prediction error [zeros]
  y   : Linear combiner output [zero]
  e   : Linear combiner error [rand]
  kf  : forward lattice coefficients [zeros]
  kb  : backward lattice coefficients [zeros]
  x   : initialized input delay line [zeros].


\epsfig{file=/home/john/winD/docs/aspt/aspt/figs/bpef2.eps,width=.8\textwidth}

Example
L  = 5;                 % Number of lattice stages 
ff = zeros(L,1);        % autocorr. for forward prediction error
bb = zeros(L,1);        % autocorr. for backward prediction error
fb = zeros(L,1);        % crosscorr. between f and b
cf = zeros(L,1);        % conversion factor
b  = zeros(L+1,1);      % backward prediction error 
x  = zeros(L+1,1);      % input delay line

% Create and initialize a lattice RLSLBPEF
[ff,bb,fb,cf,b,y,e,kf,kb,x] = init_rlslbpef(L,ff,bb,fb,cf,b,x);

Remarks
  • Supports both real and complex signals and filters.
  • Use input parameters 2 through 7 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
ASPTRLSLBPEF, PREDICT_ RLSLBPEF.


next up previous contents
Next: 16 init_ rlslfpef Up: 5 Lattice Adaptive Algorithms Previous: 14 init_ rlslattice2   Contents