Filtre passe bas simple
FiltrePB.h@3:79a6e3d33887, 2016-02-17 (annotated)
- Committer:
- garivetm
- Date:
- Wed Feb 17 10:13:07 2016 +0000
- Revision:
- 3:79a6e3d33887
- Parent:
- 2:46a658fe2f70
Bug correction in filtre formula
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
garivetm | 1:999ae031e7c1 | 1 | #include "mbed.h" |
garivetm | 0:a5c9e3376d19 | 2 | |
garivetm | 0:a5c9e3376d19 | 3 | class FiltrePB { |
garivetm | 0:a5c9e3376d19 | 4 | public: |
garivetm | 1:999ae031e7c1 | 5 | FiltrePB(); |
garivetm | 1:999ae031e7c1 | 6 | FiltrePB(float fc, float Ts); |
garivetm | 2:46a658fe2f70 | 7 | float compute(float ent); |
garivetm | 0:a5c9e3376d19 | 8 | |
garivetm | 0:a5c9e3376d19 | 9 | private: |
garivetm | 2:46a658fe2f70 | 10 | float fc_m; |
garivetm | 2:46a658fe2f70 | 11 | float Ts_m; |
garivetm | 2:46a658fe2f70 | 12 | float a_m,b_m; |
garivetm | 2:46a658fe2f70 | 13 | float tau_m; |
garivetm | 2:46a658fe2f70 | 14 | float vep_m,vsp_m,vs_m; |
garivetm | 1:999ae031e7c1 | 15 | }; |
garivetm | 0:a5c9e3376d19 | 16 | |
garivetm | 0:a5c9e3376d19 | 17 | |
garivetm | 0:a5c9e3376d19 | 18 | |
garivetm | 0:a5c9e3376d19 | 19 |