Test program with the RT black boxes

Dependencies:   mbed

Committer:
pmic
Date:
Fri Mar 09 12:53:45 2018 +0000
Revision:
5:d6c7ccbbce78
Parent:
0:15be70d21d7c
Child:
10:a28f393c6716
basic extentions and corrections which where used for the psuechstag

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rtlabor 0:15be70d21d7c 1 class IIR_filter{
rtlabor 0:15be70d21d7c 2 public:
pmic 5:d6c7ccbbce78 3
pmic 5:d6c7ccbbce78 4 //IIR_filter(float *A[],float *B[]);
pmic 5:d6c7ccbbce78 5 IIR_filter(float T,float Ts);
pmic 5:d6c7ccbbce78 6 IIR_filter(float T,float Ts,float K);
pmic 5:d6c7ccbbce78 7 IIR_filter(float w0,float D, float Ts, float K);
pmic 5:d6c7ccbbce78 8
rtlabor 0:15be70d21d7c 9 float operator()(float u){
pmic 5:d6c7ccbbce78 10 return filter(u);
rtlabor 0:15be70d21d7c 11 }
rtlabor 0:15be70d21d7c 12 virtual ~IIR_filter();
rtlabor 0:15be70d21d7c 13 void reset(float);
rtlabor 0:15be70d21d7c 14 float filter(float);
rtlabor 0:15be70d21d7c 15
rtlabor 0:15be70d21d7c 16 private:
rtlabor 0:15be70d21d7c 17 unsigned int nb;
rtlabor 0:15be70d21d7c 18 unsigned int na;
pmic 5:d6c7ccbbce78 19 float *B;
pmic 5:d6c7ccbbce78 20 float *A;
rtlabor 0:15be70d21d7c 21 float *uk;
rtlabor 0:15be70d21d7c 22 float *yk;
pmic 5:d6c7ccbbce78 23 float K;
rtlabor 0:15be70d21d7c 24 };