Matlab codes for mobile sensor data