How to calculate maximum distance between two points (coordinates) on a XY (2D) plane ?
I am plotting two vectors (x and y), i.e. plot x vs. y.
I want to calculate distance between points which are furthest away from each other. I also need their indices to reference a time stamp.
Using pdist2 I get the pink line, but the black line (annotation) seem to be the actual largest distance.I am plotting two vectors (x and y), i.e. plot x vs. y.
I want to calculate distance between points which are furthest away from each other. I also need their indices to reference a time stamp.
Using pdist2 I get the pink line, but the black line (annotation) seem to be the actual largest distance. I am plotting two vectors (x and y), i.e. plot x vs. y.
I want to calculate distance between points which are furthest away from each other. I also need their indices to reference a time stamp.
Using pdist2 I get the pink line, but the black line (annotation) seem to be the actual largest distance. pdist2, pdist, xy, maximum distance MATLAB Answers — New Questions