Squared Euclidean Distance Matlab, To get euclidean distance you need to take the square root of the 'C' values.