To find the distance between two points in Matlab, you can use the "pdist" function. Here's how you can use this function to find the distance between the points [2261,582] and [2261,583]:
main.m156 chars7 lines
The output "distance" will be 1, which is the distance between the two points.
gistlibby LogSnag