We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c1c888 commit e2c4b11Copy full SHA for e2c4b11
examples/statistics/statistics.ino
@@ -1,6 +1,6 @@
1
// Example program for use with QuickStats.h
2
// Author: D. Dubins
3
-// Date: 08-Dec-21
+// Date: 01-Apr-25
4
/* Expected Results:
5
Descriptive Statistics
6
Average: 3.62
@@ -10,6 +10,7 @@ Maximum: 7.00
10
Standard Deviation: 2.00
11
Standard Error: 0.67
12
Coefficient of Variation (%): 55.23
13
+SNR: 1.81
14
Median: 3.30
15
Mode: 2.20
16
GMDN: 3.33
@@ -40,6 +41,8 @@ void setup()
40
41
Serial.println(stats.stderror(readings,numreadings));
42
Serial.print("Coefficient of Variation (%): ");
43
Serial.println(stats.CV(readings,numreadings));
44
+ Serial.print("SNR: ");
45
+ Serial.println(stats.SNR(readings,numreadings));
46
Serial.print("Median: ");
47
Serial.println(stats.median(readings,numreadings));
48
Serial.print("Mode: ");
0 commit comments