How can find specific values form the below matrix?

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

doc pdist
doc pdist2
then look up logical operators.
This is about a 2-3 liner...

Sign in to comment.

Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Asked:

on 14 Dec 2019

Edited:

dpb
on 14 Dec 2019

Community Treasure Hunt

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

Start Hunting!