Removing a coordinate from a list of coordinates.

2 vues (au cours des 30 derniers jours)
Phillip Smith
Phillip Smith le 7 Avr 2020
Modifié(e) : KSSV le 7 Avr 2020
Hey everyone,
I have a list of coordinates, say K is a 10 by 2 double. What I'm doing is basically comparing that with another list to see if there are any matching. If we have a matching coordinates, say K(4,:) matches (i.e. the 4th coordinate in the list), I want to remove this from the original list!
If you could help that would be greatly appreciated.
Phill

Réponse acceptée

KSSV
KSSV le 7 Avr 2020
Modifié(e) : KSSV le 7 Avr 2020
Read about setdiff and ismember.

Plus de réponses (0)

Catégories

En savoir plus sur Line Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by