next up previous contents
Next: 34 init_ rdrlms Up: 4 Transversal and Linear Previous: 32 init_ pbfdaf   Contents


33 init_ rcpbfdaf

Purpose
Creates and initializes the variables required for the Reduced Complexity Partitioned Block Frequency Domain Adaptive Filter (RCPBFDAF) algorithm.

Syntax
[W,x,d,e,y,Px,X,ci,w]=init_rcpbfdaf(L,M,P)
[W,x,d,e,y,Px,X,ci,w]=init_rcpbfdaf(L,M,P,W0,X0,d0)



Description
The variables of the RCPBFDAF are similar to those of the BFDAF (see Fig. 4.2) and are summarized below . The FFT length B is internally calculated using the equation $B= 2 ^{nextpow2(L+M-1)}$.
Input Parameters [Size]:: 
   L  : block length (M = g * L)
   M  : filter partition length, must be int multiple of L
   P  : number of partitions (total filter length = P*M)
   W0 : initial matrix of filter coefficients [B x P]
   X0 : initial matrix of f-domain input signal [B x G]
   d0 : initial desired response vector [L x 1]
Output parameters [default]::
   W  : initialized matrix of filter coef. [zeros]
   x  : initialized overlap-save input buffer  
   d  : initialized desired response [white noise]
   e  : initialized error vector in t-domain
   y  : initialized filter output in t-domain 
   Px : initialized estimate of the input power (Bx1)
   X  : initialized input samples matrix [zeros]
   ci : index of the next partition to be constrained 
   w  : time domain filter coefficients vector


Example
P  = 16;                 % partitions
L  = 32;                 % Block length
M  = L*4;                % 2048-long filter 
B  = 2^nextpow2(L+M-1);  % FFT length
G  = (P-1)*4+1;          % depth of X
W0 = zeros(B,P);         % initial filter coef. 
X0 = rand(B,G);          % initial input buffer
d0 = rand(L,1);          % desired block

% Create and initialize a RCPBFDAF FIR filter
[W,x,d,e,y,Px,X,ci,w]=init_rcpbfdaf(L,M,P,W0,X0,d0);

Remarks
  • Supports both real and complex signals and filters.
  • Use input parameters 4 through 6 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
ASPTRCPBFDAF, ECHO_ RCPBFDAF.


next up previous contents
Next: 34 init_ rdrlms Up: 4 Transversal and Linear Previous: 32 init_ pbfdaf   Contents