Clear Filters
Clear Filters

How can find specific values form the below matrix?

1 view (last 30 days)
Hi.
I have a Matrix A. It contains the several coordinates. I'd like to find the distance of each coordinate(x,y) from others.
And store only the coordinates that their distance from others is greater than 50.
Thank for your help.
%-----code
load A;
  1 Comment
dpb
dpb on 14 Dec 2019
Edited: dpb on 14 Dec 2019
doc pdist
doc pdist2
then look up logical operators.
This is about a 2-3 liner...

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!