Compute distance in Cartesian Coordinate System in Mathematica
问题 Analyzing Eye-movements on a screen, I set my origin to the bottom left corner of it (Hard to modify at that point). Trying to compute distance between some points and the center of the screen I use the simple formula displayed below. Problem is that using this in conditional statement, it gets ugly. Sqrt[ ( (fixationX - centerX)^2 + (fixationY - centerY)^2 ) ] Is there a way to customize Norm to compute distance between points and not between a point and the origin ? Or in my case, set the