![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
cuboid strong
Dependencies: mbed
IIR_filter.h
- Committer:
- altb
- Date:
- 2018-03-01
- Revision:
- 2:38d9d1c3c85f
- Parent:
- 0:15be70d21d7c
File content as of revision 2:38d9d1c3c85f:
class IIR_filter{ public: IIR_filter(unsigned int nb,unsigned int na); IIR_filter(float b,float a); IIR_filter(float tau,float Ts,float dc); IIR_filter(float tau); float operator()(float u){ return filter(u); } virtual ~IIR_filter(); void reset(float); float filter(float); private: unsigned int nb; unsigned int na; float *b; float *a; float *uk; float *yk; float dc; };