Defines a second order section of a biquadChain
Revision 1:8589bd80071d, committed 2017-10-20
- Comitter:
- tvlogman
- Date:
- Fri Oct 20 16:29:01 2017 +0000
- Parent:
- 0:5484e3da74be
- Commit message:
- Should now work, doesn't give compile errors but not tested with a real EMG signal;
Changed in this revision
biquadFilter.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 5484e3da74be -r 8589bd80071d biquadFilter.cpp --- a/biquadFilter.cpp Fri Oct 20 12:23:40 2017 +0000 +++ b/biquadFilter.cpp Fri Oct 20 16:29:01 2017 +0000 @@ -4,7 +4,6 @@ // Member function definitions biquadFilter::biquadFilter(double B0, double B1, double B2, double A0, double A1, double A2):b0(B0),b1(B1),b2(B2),a0(A0),a1(A1),a2(A2){ // Initializing filter coefficients - v = 0; y = 0; v1 = 0;