Filter Design Toolbox    
adaptfilt.bap

Return a block affine projection FIR adaptive filter object

Syntax

ha = adaptfilt.bap(l,step,projectord,offset,coeffs,states)

Description

ha = adaptfilt.bap(l,step,projectord,offset,coeffs,states) constructs a block affine projection FIR adaptive filter ha.

Input Arguments

Entries in the following table describe the input arguments for adaptfilt.bap.

Input Argument
Description
l
Adaptive filter length (the number of coefficients or taps) and it must be a positive integer. l defaults to 10.
step
Affine projection step size. This is a scalar that should be a value between zero and one. Setting step equal to one provides the fastest convergence during adaptation. step defaults to 1.
projectord
Projection order of the affine projection algorithm. projectord defines the size of the input signal covariance matrix and defaults to two.
offset
Offset for the input signal covariance matrix. You should initialize the covariance matrix to a diagonal matrix whose diagonal entries are equal to the offset you specify. offset should be positive. offset defaults to one.
coeffs
Vector containing the initial filter coefficients. It must be a length l vector, the number of filter coefficients. coeffs defaults to length l vector of zeros when you do not provide the argument for input.
states
Vector of the adaptive filter states. states defaults to a vector of zeros which has length equal to (l + projectord - 2).

adaptfilt.bap Object Properties

Since your adaptfilt.bap filter is an object, it has properties that define its behavior in operation. Note that many of the properties are also input arguments for creating adaptfilt.bap objects. To show you the properties that apply, this table lists and describes each property for the affine projection filter object.

Name
Range
Description
Algorithm
None
Defines the adaptive filter algorithm the object uses during adaptation
FilterLength
Any positive integer
Reports the length of the filter, the number of coefficients or taps
NumSamplesProcessed
Any positive integer
Specifies the number performed during the adaptation process
ProjectionOrder

Projection order of the affine projection algorithm. projectord defines the size of the input signal covariance matrix and defaults to two.
OffsetCov

Contains the offset covariance matrix
Coefficients
Vector of elements
Vector containing the initial filter coefficients. It must be a length l vector, the number of filter coefficients. coeffs defaults to length l vector of zeros when you do not provide the argument for input.
States
Vector of elements, data type double
Vector of the adaptive filter states. states defaults to a vector of zeros which has length equal to (l + projectord - 2).
StepSize
Any scalar from zero to one, inclusive
Specifies the step size taken between filter coefficient updates
ResetBeforeFiltering
off or on
Determine whether the filter states get restored to their starting values for each filtering operation. The starting values are the values in place when you create the filter. ResetBeforeFiltering returns to zero any state that the filter changes during processing. States that the filter does not change are not affected. Defaults to 'on'.

Example

Show an example of quadrature phase shift keying (QPSK) adaptive equalization using a 32-coefficient FIR filter.

See Also

adaptfilt, adaptfilt.ap, adaptfilt.apru

References

[1]  K. Ozeki, Omeda, T, "An Adaptive Filtering Algorithm Using an Orthogonal Projection to an Affine Subspace and Its Properties," Electronics and Communications in Japan, vol. 67-A, no. 5, pp. 19-27, May 1984

[2]  M. Montazeri, M, Duhamel, P, "A Set of Algorithms Linking NLMS and Block RLS Algorithms," IEEE Transactions Signal Processing, vol. 43, no. 2, pp, 444-453, February 1995


  adaptfilt.apru adaptfilt.blms 

Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS