| 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 |
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.
|
| 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 |
|
| See Also |
| ASPTLFPEF, PREDICT_ LFPEF. |