| Purpose |
| Creates and initializes the variables required for the Variable Step Size Least Mean Squares (VSSLMS) Adaptive algorithm |
| Syntax |
[w,x,d,y,e,g,mu] = init_vsslms(L)
[w,x,d,y,e,g,mu] = init_vsslms(L,w0,x0,d0,mu0,g0)
|
| Description |
The variables of the VSSLMS are summarized below (see Fig. 2.6).
Input Parameters [Size] :: L : adaptive filter length w0 : initial vector of filter coefficients [Lx1] x0 : initial input samples delay line [Lx1] d0 : initial desired sample [1x1] mu0 : initial step-size vector [Lx1] g0 : initial gradient vector [Lx1] Output parameters [default]:: w : initialized filter coefficients [zeros] x : initialized input delay line [zeros] d : initialized desired sample [white noise] y : Initialized filter output e : initialized error sample [e = d - y] g : initialized gradient vector [zeros] mu : initialized step-size vector [zeros] |
| Example |
L = 5; % Number of coefficients w0 = [0;0;1;0;0]; % initial filter coefficients x0 = rand(5,1); % initial delay line mu0 = 0.1*ones(L,1); % initial step sizes % Create and initialize an VSSLMS FIR filter [w,x,d,y,e,g,mu] = init_vsslms(L,w0,x0,[],mu0); |
| Remarks |
|
| See Also |
| ASPTVSSLMS, MODEL_ VSSLMS. |