Function to design a 4th order BiQuad filter
Dependents: Project_EMGtosetpoint emg_calibration emg_calibration demo_with_emg ... more
Revision 1:ac4bef72d6af, committed 2018-11-06
- Comitter:
- Mirjam
- Date:
- Tue Nov 06 09:14:46 2018 +0000
- Parent:
- 0:caa20b96f300
- Commit message:
- Added comments
Changed in this revision
BiQuad4.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/BiQuad4.cpp Mon Oct 22 09:11:21 2018 +0000 +++ b/BiQuad4.cpp Tue Nov 06 09:14:46 2018 +0000 @@ -2,6 +2,8 @@ #include <stdlib.h> #include <stddef.h> +// This code is used to make a fourth order BiQuad filter + BiQuad4::BiQuad4(double b0, double b1, double b2, double b3, double b4, double a1, double a2, double a3, double a4) { set( b0, b1, b2, b3, b4, a1, a2, a3, a4 ); resetStateOnGainChange = true;