Filtre passe bas simple
FiltrePB.h@2:46a658fe2f70, 2016-02-15 (annotated)
- Committer:
- garivetm
- Date:
- Mon Feb 15 17:19:56 2016 +0000
- Revision:
- 2:46a658fe2f70
- Parent:
- 1:999ae031e7c1
Refactor : attribut names
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 |