cuboid strong

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers IIR_filter.h Source File

IIR_filter.h

00001 class IIR_filter{
00002      public:
00003                     IIR_filter(unsigned int nb,unsigned int na);
00004                     IIR_filter(float b,float a);
00005                     IIR_filter(float tau,float Ts,float dc);
00006                     IIR_filter(float tau);
00007         float operator()(float u){
00008          return filter(u);
00009          }
00010         virtual     ~IIR_filter();
00011         void        reset(float);
00012         float       filter(float);
00013     
00014     private:
00015         unsigned int nb;
00016         unsigned int na;
00017         float *b;
00018         float *a;
00019         float *uk;
00020         float *yk;
00021         float dc;
00022 };