MATLAB script to parse logged data from the accelerometer.