| 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 |
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].
|
| 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 |
|
| See Also |
| ASPTRLSLBPEF, PREDICT_ RLSLBPEF. |