| Purpose |
| Creates and initializes the variables required for the Multi-Channel ADJoint Least Mean Squares (MCADJLMS) adaptive filter algorithm for use with multichannel Active Noise and Vibration Control (ANVC) applications. |
| Syntax |
[w,x,y,d,e,p]=init_mcadjlms(L,Nref,Nact,Nsens,s,se)
[w,x,y,d,e,p]=init_mcadjlms(L,Nref,Nact,Nsens,s,se,w0,x0,d0,y0,e0)
|
| Description |
The variables of the MCADJLMS are shows in Fig. 7.21 and are summarized below. The size of each variable is given in a square brackets, for instance [N x Nref x Nact] means a matrix of dimension 3 having Nact pages, each page has Nref columns of length N each.
Input Parameters::
L : Adaptive filter length
Nref : number of reference signals
Nact : number of actuators
Nsens : number of sensors
s : FIR model of the secondary path [M x Nact x Nsens]
se : estimate of the secondary path [N x Nact x Nsens]
w0 : initial vector of filter coef. [L x Nref x Nact]
x0 : initial vector of input samples [L+N-1 x Nref]
d0 : initial desired samples [1 x Nsens]
y0 : vector of filter output samples [M x Nsens]
e0 : initial error vector [N x Nsens]
Output parameters [default]::
w : Initialized filter coefficients [zeros]
x : Initialized input vector [white noise]
y : Initial vector of filter output samples
d : Initialized desired sample [white noise]
e : Initialized error vector
p : Initialized input vector variance
|
| Example |
load .\data\p22.mat; % Primary transfer function load .\data\s22.mat; % Secondary transfer function se = s22; % accurate estimate of sh22 [Lp,Nref,Nsens] = size(p22); % Primary TF dimension [Ls,Nact,Nsens] = size(s22); % Secondary TF dimension L = Lp + Ls ; % Length of each filter % Initialize MCADJLMS algorithm with controllers of L % coefficients each. [w,x,y,d,e,p] = init_mcadjlms(L,Nref,Nact,Nsens,s22,se); |
| Remarks |
|
| See Also |
| ASPTMCADJLMS, ANVC_ MCADJLMS, ASPTADJLMS, ASPTFDADJLMS, ASPTMCFDADJLMS. |