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@0:44d3f99b08c1, 2016-11-02 (annotated)
- Committer:
- ofosakar
- Date:
- Wed Nov 02 11:08:53 2016 +0000
- Revision:
- 0:44d3f99b08c1
EMG processing for two EMG signals.;
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(); |