Eindelijk!!!!!
Fork of SignalNumber2 by
Diff: signalnumber.cpp
- Revision:
- 6:7f6e2d293154
- Parent:
- 5:f3ddc3a7b292
diff -r f3ddc3a7b292 -r 7f6e2d293154 signalnumber.cpp --- a/signalnumber.cpp Wed Nov 01 22:46:29 2017 +0000 +++ b/signalnumber.cpp Thu Nov 02 10:17:26 2017 +0000 @@ -3,7 +3,7 @@ //Constants for mean value -const int n = 1500; //Window size for the mean value +const int n = 500; //Window size for the mean value float emg0_filtered[n] = {}, emg2_filtered[n] = {}, emg4_filtered[n]={}; int count1 = 0, count2 = 0, count3 = 0; //Counters for the mean values int countx = 0, county = 0.0, countz = 0.0; //Counters for the signalnumbers