问题 What I am trying to do? Using the sensor of Android, I have collected lot of acceleration values when some diabetic patients were running to do physical exercise. Each acceleration value consists of three components: Acceleration in x axis, acceleration in y axis, acceleration in z axis. Then, I need to calculate the total magnitude of each acceleration value and it's direction. Then, what does create the problem? In my data, the direction of acceleration components (x, y, z) are represented