How can find specific values form the below matrix?

2 Ansichten (letzte 30 Tage)
Amir Torabi
Amir Torabi am 14 Dez. 2019
Bearbeitet: dpb am 14 Dez. 2019
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 Kommentar
dpb
dpb am 14 Dez. 2019
Bearbeitet: dpb am 14 Dez. 2019
doc pdist
doc pdist2
then look up logical operators.
This is about a 2-3 liner...

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by