Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 2:c9471599e9eb, committed 2015-07-30
- Comitter:
- t_tatsuoka
- Date:
- Thu Jul 30 10:23:54 2015 +0000
- Parent:
- 1:4172c4324c2d
- Commit message:
- Notch filter 60 Hz version
Changed in this revision
FilterTest.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4172c4324c2d -r c9471599e9eb FilterTest.h --- a/FilterTest.h Sat Feb 21 19:45:49 2015 +0000 +++ b/FilterTest.h Thu Jul 30 10:23:54 2015 +0000 @@ -1,8 +1,8 @@ /** * @file FilterTest.h * @brief Header file for FilterTest.cpp - * @date 2015.02.22 - * @version 1.0.1 + * @date 2015.07.30 + * @version 1.0.2.1 */ #ifndef _INC_FilterTest #define _INC_FilterTest @@ -19,14 +19,14 @@ #define INIT_LA2 (0.766006600943264) /* LPF denominator coefficient 2 */ /* Notch filter fc = 50 Hz, fs = 1000 Hz */ -#define INIT_NB (0.820675769028781) /* BRF numerator coefficient */ -#define INIT_NA1 (-1.561018075800720) /* BRF denominator coefficient 1 */ -#define INIT_NA2 (0.641351538057563) /* BRF denominator coefficient 2 */ +// #define INIT_NB (0.820675769028781) /* BRF numerator coefficient */ +// #define INIT_NA1 (-1.561018075800720) /* BRF denominator coefficient 1 */ +// #define INIT_NA2 (0.641351538057563) /* BRF denominator coefficient 2 */ // /* Notch filter fc = 60 Hz, fs = 1000 Hz */ -// #define INIT_NB (0.793459754030595) /* BRF numerator coefficient */ -// #define INIT_NA1 (-1.475480443592650) /* BRF denominator coefficient 1 */ -// #define INIT_NA2 (0.586919508061190) /* BRF denominator coefficient 2 */ +#define INIT_NB (0.793459754030595) /* BRF numerator coefficient */ +#define INIT_NA1 (-1.475480443592650) /* BRF denominator coefficient 1 */ +#define INIT_NA2 (0.586919508061190) /* BRF denominator coefficient 2 */ /** Filter test */