public class RecursiveFilter extends Object
x[n] = e[n] + a[1]*x[n-1] + a[2]*x[n-2] + ... + a[p]*x[n-p]
Modifier and Type | Class and Description |
---|---|
static class |
RecursiveFilter.Processor |
Modifier and Type | Field and Description |
---|---|
protected double[] |
a
The prediction coefficients, as in *
x[n] = e[n] + a[1]*x[n-1] + a[2]*x[n-2] + ... |
Constructor and Description |
---|
RecursiveFilter(double[] a)
Create a new recursive filter.
|
Modifier and Type | Method and Description |
---|---|
double[] |
apply(double[] signal)
Apply this filter to the given input signal.
|
DoubleDataSource |
apply(DoubleDataSource signal)
Apply this filter to the given input signal.
|
protected final double[] a
x[n] = e[n] + a[1]*x[n-1] + a[2]*x[n-2] + ... + a[p]*x[n-p]
public RecursiveFilter(double[] a)
a
- the recursive prediction coefficientspublic DoubleDataSource apply(DoubleDataSource signal)
signal
- the signal to which this filter should be appliedpublic double[] apply(double[] signal)
signal
- the signal to which this filter should be appliedCopyright © 2000–2016 DFKI GmbH. All rights reserved.