Filtre passe bas simple
FiltrePB.h@0:a5c9e3376d19, 2016-02-15 (annotated)
- Committer:
- garivetm
- Date:
- Mon Feb 15 15:10:52 2016 +0000
- Revision:
- 0:a5c9e3376d19
- Child:
- 1:999ae031e7c1
First commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
garivetm | 0:a5c9e3376d19 | 1 | #include "mbed.h" //bibliothèque de classe de fonction pour utiliser mbed |
garivetm | 0:a5c9e3376d19 | 2 | |
garivetm | 0:a5c9e3376d19 | 3 | class FiltrePB { |
garivetm | 0:a5c9e3376d19 | 4 | public: |
garivetm | 0:a5c9e3376d19 | 5 | FiltrePB(float fc); |
garivetm | 0:a5c9e3376d19 | 6 | float FiltreExe(float ent); // appel du filtre |
garivetm | 0:a5c9e3376d19 | 7 | |
garivetm | 0:a5c9e3376d19 | 8 | private: |
garivetm | 0:a5c9e3376d19 | 9 | float a,b; |
garivetm | 0:a5c9e3376d19 | 10 | float dt; |
garivetm | 0:a5c9e3376d19 | 11 | float tau; |
garivetm | 0:a5c9e3376d19 | 12 | float vep,vsp,vs; |
garivetm | 0:a5c9e3376d19 | 13 | }; |
garivetm | 0:a5c9e3376d19 | 14 | |
garivetm | 0:a5c9e3376d19 | 15 | |
garivetm | 0:a5c9e3376d19 | 16 | |
garivetm | 0:a5c9e3376d19 | 17 |