next up previous contents
Next: 12 init_ lmslattice Up: 5 Lattice Adaptive Algorithms Previous: 10 init_ lbpef   Contents


11 init_ lfpef

Purpose
Creates and initializes the variables required for the Least Mean Squares Lattice Forward Prediction Error Filter.

Syntax
[k,b,P,e,y,c]=init_lfpef(L)
[k,b,P,e,y,c]=init_lfpef(L,k0,b0,P0)



Description
Figure 5.17: Block diagram of the lattice predictor.
The block diagram of the lattice forward prediction error filter is shown in Fig. 5.4 while the details of the lattice structure showing its internal variables can be seen in Fig. 5.17. A summary of those variables is given below. The variables of the LFPEF are summarized below (see Fig. 5.17).
Input Parameters [Size]:: 
    L   : number of filter coefficients
    k0  : initial lattice predictor coefficients [L x 1]
    b0  : initial backward prediction errors [(L+1)x1]
    P0  : initial power of b [(L+1)x1]

Output parameters::
    k   : lattice predictor coefficients [zeros]
    b   : backward prediction errors [random]
    P   : estimated power of b [b .* b]
    e   : forward prediction error [random]
    y   : predictor output [0]
    c   : equivalent transversal predictor coef.


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


Example
L  = 5;                 % Number of lattice stages 
k0 = zeros(L,1);        % initial PARCOR coefficients 
b0 = rand(L+1,1);       % initial backward errors
P0 = b0 .* conj(b0);    % initial power of b

% Create and initialize a lattice FPEF
[k,b,P,fM,y,c]=init_lfpef(L,k0,b0,P0);

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

next up previous contents
Next: 12 init_ lmslattice Up: 5 Lattice Adaptive Algorithms Previous: 10 init_ lbpef   Contents