-
-
Notifications
You must be signed in to change notification settings - Fork 43
Windowed FIR Filter with Gain
Sambit Paul edited this page Dec 2, 2023
·
2 revisions
The parameters for this filter are as follows:
- Taps ⇨ 15
- Cutoff Frequency ⇨ [0Hz, 25Hz, 50Hz]
- Gains ⇨ [0.0, 1.0, 1.0]
- Sampling Frequency ⇨ 100Hz
double samplingRate = 100;
double[] freqs = {0.0, 25, 50};
double[] gains = {0.0, 1.0, 1.0};
int taps = 15;
FIRWin2 fw2 = new FIRWin2(taps, samplingRate);
double[] outCoeffs = fw2.computeCoefficients(freqs, gains);
double[] filteredX = fw2.firfilter(outCoeffs, signal);
The parameters for this filter are as follows:
- Taps ⇨ 10
- Cutoff Frequency ⇨ [0Hz, 25Hz, 50Hz]
- Gains ⇨ [1.0, 1.0, 0.0]
- Sampling Frequency ⇨ 100Hz
double samplingRate = 100;
double[] freqs = {0.0, 25, 50};
double[] gains = {1.0, 1.0, 0.0};
int taps = 10;
FIRWin2 fw2 = new FIRWin2(taps, samplingRate);
double[] outCoeffs = fw2.computeCoefficients(freqs, gains);
double[] filteredX = fw2.firfilter(outCoeffs, signal);
The parameters for this filter are as follows:
- Taps ⇨ 15
- Cutoff Frequency ⇨ [0Hz, 25Hz, 50Hz]
- Gains ⇨ [0.0, 1.0, 0.0]
- Sampling Frequency ⇨ 100Hz
double samplingRate = 100;
double[] freqs = {0.0, 25, 50};
double[] gains = {0.0, 1.0, 0.0};
int taps = 15;
FIRWin2 fw2 = new FIRWin2(taps, samplingRate, true);
double[] outCoeffs = fw2.computeCoefficients(freqs, gains);
double[] filteredX = fw2.firfilter(outCoeffs, signal);
The parameters for this filter are as follows:
- Taps ⇨ 10
- Cutoff Frequency ⇨ [0Hz, 25Hz, 50Hz]
- Gains ⇨ [0.0, 1.0, 1.0]
- Sampling Frequency ⇨ 100Hz
double samplingRate = 100;
double[] freqs = {0.0, 25, 50};
double[] gains = {0.0, 1.0, 1.0};
int taps = 10;
FIRWin2 fw2 = new FIRWin2(taps, samplingRate, true);
double[] outCoeffs = fw2.computeCoefficients(freqs, gains);
double[] filteredX = fw2.firfilter(outCoeffs, signal);
Wiki
-
Filters
- IIR Filters
- FIR Filters
- Kernel-Based Filter
- Adaptive Filters
-
Signals
-
Peak Detection
-
Transformations
-
Speech
-
Windowing