Walk detection and step counting on unconstrained smartphones
Least squares quantization in pcm