Removing a coordinate from a list of coordinates.

2 visualizaciones (últimos 30 días)
Phillip Smith
Phillip Smith el 7 de Abr. de 2020
Editada: KSSV el 7 de Abr. de 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

Respuesta aceptada

KSSV
KSSV el 7 de Abr. de 2020
Editada: KSSV el 7 de Abr. de 2020
Read about setdiff and ismember.

Más respuestas (0)

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by