-
-
Notifications
You must be signed in to change notification settings - Fork 43
Least Squares Optimised FIR Filter
Sambit Paul edited this page Dec 2, 2023
·
2 revisions
The parameters for this filter are as follows:
- Taps ⇨ 7
- Bands ⇨ [0Hz, 1Hz, 2Hz, 4Hz, 4.5Hz, 5Hz]
- Gains ⇨ [0.0, 0.0, 1.0, 1.0, 0.0, 0.0]
- Sampling Frequency ⇨ 100Hz
double samplingRate = 100;
double[] freqs = {0.0, 1.0, 2.0, 4.0, 4.5, 5.0};
double[] gains = {0.0, 0.0, 1.0, 1.0, 0.0, 0.0};
int taps = 7;
FIRLS fwls = new FIRLS(taps, samplingRate);
double[] coefficients = fwls.computeCoefficients(freqs, gains);
double[] out = fwls.firfilter(coefficients, signal);
Wiki
-
Filters
- IIR Filters
- FIR Filters
- Kernel-Based Filter
- Adaptive Filters
-
Signals
-
Peak Detection
-
Transformations
-
Speech
-
Windowing