1次遅れと2次遅れ,ノッチフィルターを実装
Fork of Filter by
Filter.h
- Committer:
- uenono
- Date:
- 2018-01-11
- Revision:
- 1:637f9a61b133
- Parent:
- 0:17706252d1ed
- Child:
- 2:a842c1a33e4f
File content as of revision 1:637f9a61b133:
#include "mbed.h" class Filter { public: double T_LPF; double Om_n; double sq_dt; double sq_Om; Filter(double); void setLowPassPara(double T); double LowPassFilter(double input); void setNotchPara(double Omega); double NotchFilter(double input); private: double int_time };