I am using the pdist command to find the distance between x and y coordinates stored in a matrix. X = [100 100;