Filtre passe bas simple
FiltrePB.h@1:999ae031e7c1, 2016-02-15 (annotated)
- Committer:
- garivetm
- Date:
- Mon Feb 15 15:16:59 2016 +0000
- Revision:
- 1:999ae031e7c1
- Parent:
- 0:a5c9e3376d19
- Child:
- 2:46a658fe2f70
Adding sampling time as an argument
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 | 1:999ae031e7c1 | 7 | float FiltreExe(float ent); |
garivetm | 0:a5c9e3376d19 | 8 | |
garivetm | 0:a5c9e3376d19 | 9 | private: |
garivetm | 0:a5c9e3376d19 | 10 | float a,b; |
garivetm | 0:a5c9e3376d19 | 11 | float tau; |
garivetm | 0:a5c9e3376d19 | 12 | float vep,vsp,vs; |
garivetm | 1:999ae031e7c1 | 13 | }; |
garivetm | 0:a5c9e3376d19 | 14 | |
garivetm | 0:a5c9e3376d19 | 15 | |
garivetm | 0:a5c9e3376d19 | 16 | |
garivetm | 0:a5c9e3376d19 | 17 |