Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: biquadFilter mbed
emg-utils.h@5:dd261ba7b047, 2016-11-03 (annotated)
- Committer:
- Jankoekenpan
- Date:
- Thu Nov 03 10:01:14 2016 +0000
- Revision:
- 5:dd261ba7b047
- Parent:
- 0:44d3f99b08c1
working test version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ofosakar | 0:44d3f99b08c1 | 1 | void addFirst(float newValue, float array[], int size); |
ofosakar | 0:44d3f99b08c1 | 2 | float average(float newValue); |
ofosakar | 0:44d3f99b08c1 | 3 | float movingAverage(float newValue); |
ofosakar | 0:44d3f99b08c1 | 4 | float sum(float array[], int size); |
ofosakar | 0:44d3f99b08c1 | 5 | float mean(float array[], int size); |
ofosakar | 0:44d3f99b08c1 | 6 | float meanSquare(float array[], int size); |
ofosakar | 0:44d3f99b08c1 | 7 | float variance(float array[], int size, float avg); |
ofosakar | 0:44d3f99b08c1 | 8 | float standardDeviation(float array[], int size, float avg); |
ofosakar | 0:44d3f99b08c1 | 9 | int decide(float value, float threshold); |
ofosakar | 0:44d3f99b08c1 | 10 | float rectifier(float value); |
ofosakar | 0:44d3f99b08c1 | 11 | void processEMG(); |