Following through the solutions offered for this [Finding the coordinates of points from distance matrix question, I have been stuck for a really long time on making it happen. So, I ask someone to kindly follow me through.
I want to get coordinates from a distance matrix. Let us assume we are given four points on a plane: (1,0),(3,2),(0,1),(2,4).
Their matrix of squared Euclidean distances will then be {[0,8,2,17],[8,0,10,5],[2,10,0,13],[17,5,13,0]}.
As suggested, I find matrix M: {[0,0,0,0],[0,0,0,10],[0,0,0,3],[0,10,3,0]}. However, this matrix M is not positive semi-definite, as its eigenvalues are -10.44, 0, 0, 10.44.
Obviously, I cannot proceed to the final step of actually getting the coordinates having to take square roots from negative values. What really bothers me is that we started with real points, so it cannot be an issue of problem construction. I would be infinitely grateful to someone who would walk me through this example. P.S. I apologize if the text is not properly formatted, as I am asking from an old phone.