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
Diff: emg-utils.h
- Revision:
- 0:44d3f99b08c1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/emg-utils.h Wed Nov 02 11:08:53 2016 +0000 @@ -0,0 +1,11 @@ +void addFirst(float newValue, float array[], int size); +float average(float newValue); +float movingAverage(float newValue); +float sum(float array[], int size); +float mean(float array[], int size); +float meanSquare(float array[], int size); +float variance(float array[], int size, float avg); +float standardDeviation(float array[], int size, float avg); +int decide(float value, float threshold); +float rectifier(float value); +void processEMG(); \ No newline at end of file