compute output, error, and coefficients using frequency-凯发k8网页登录
compute output, error, and coefficients using frequency-domain fir adaptive filter
description
the dsp.frequencydomainadaptivefilter
system object™ implements an adaptive finite impulse response (fir) filter in the frequency
domain using the fast block least mean squares (lms) algorithm. the length and
the blocklength properties specify the filter length and the
block length values the algorithm uses. the fftcoefficients property contains the discrete fourier
transform of the current filter coefficients. the object offers the constrained and
unconstrained versions of the algorithm with partitioned and non-partitioned modes. for
details, see .
to filter a signal using frequency-domain fir adaptive filter:
create the
dsp.frequencydomainadaptivefilter
object and set its properties.call the object with arguments, as if it were a function.
to learn more about how system objects work, see what are system objects?
creation
syntax
description
returns a frequency domain fir adaptive filter system object, fdaf
= dsp.frequencydomainadaptivefilterfdaf
. this system object is used to compute the filtered output and the filter error for a given
input and desired signal.
returns a frequency domain fir adaptive filter object with the fdaf
= dsp.frequencydomainadaptivefilter(len
)length
property set to len
.
returns a frequency domain fir adaptive filter object with each specified property set to
the specified value. enclose each property name in quotes. you can use this syntax with
any previous input argument combinations.fdaf
= dsp.frequencydomainadaptivefilter(___,name,value
)
example: fdaf =
dsp.frequencydomainadaptivefilter('length',32,'stepsize',0.1)
models a
frequency-domain adaptive filter with a length of 32 taps and a step size of
0.1.
properties
usage
syntax
description
[
filters the input signal, y
,err
] = fdaf(x,d)x
, using d
as the
desired signal, and returns the filtered output in y
and the filter
error in err
. the system object estimates the filter weights needed to minimize the error between the output
signal and the desired signal. the fft of these filter weights can be obtained by
accessing the fftcoefficients
property after calling the object
algorithm.
input arguments
output arguments
object functions
to use an object function, specify the
system object as the first input argument. for
example, to release system resources of a system object named obj
, use
this syntax:
release(obj)
examples
algorithms
references
[1] shynk, j.j. "frequency-domain and multirate adaptive filtering." ieee signal processing magazine. vol. 9, number 1, 1992, pp. 14–37.
[2] farhang-boroujeny, b., adaptive filters: theory and applications, chichester, england, wiley, 1998.
[3] stockham, t. g., jr. "high speed convolution and correlation." proceedings of the 1966 spring joint computer conference, afips, vol. 28, 1966, pp. 229–233.
extended capabilities
version history
introduced in r2013b
see also
objects
dsp.lmsfilter
|dsp.rlsfilter
|dsp.affineprojectionfilter
|dsp.adaptivelatticefilter
| | |dsp.fasttransversalfilter
|
blocks
- | | | | | | frequency-domain fir filter |