Removing a coordinate from a list of coordinates.

2 views (last 30 days)
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.

Accepted Answer

KSSV on 7 Apr 2020
Edited: KSSV on 7 Apr 2020
Read about setdiff and ismember.

More Answers (0)


Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by