Filter löschen
Filter löschen

How can find specific values form the below matrix?

1 Ansicht (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)

Community Treasure Hunt

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

Start Hunting!

Translated by