I working on a smart movement program in objective c which say what's doing in the last day. Running, walking, sleeping and so on. I can measure the correct accelerometer values, with filters, i have many many values and 30 minutes intervals.
Example:
Accelerometer movement values in last 30 minute: 1.002, 1.0021, 1.11, 1.033, .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. 1.32, 1.23, 1.01, 1.37
Result: sitting
Any idea which method is suitable for calculate this, just summing is not. Average? Weighthed average?