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 comentario

dpb
dpb el 14 de Dic. de 2019
Editada: dpb el 14 de Dic. de 2019
doc pdist
doc pdist2
then look up logical operators.
This is about a 2-3 liner...

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Preguntada:

el 14 de Dic. de 2019

Editada:

dpb
el 14 de Dic. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by