1次遅れと2次遅れ,ノッチフィルターを実装
Fork of Filter by
Diff: Filter.h
- Revision:
- 0:17706252d1ed
- Child:
- 1:637f9a61b133
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Filter.h Thu Jan 11 06:44:59 2018 +0000 @@ -0,0 +1,19 @@ +#include "mbed.h" + +class Filter +{ +public: + double T_LPF; + double Om_n; + double sq_dt; + double sq_Om; + + + Filter(); + void setLowPassPara(double T); + double LowPassFilter(double input); + void setNotchPara(double Omega); + double NotchFilter(double input); + + +}; \ No newline at end of file