Categories
Development

MATLAB: Does there exist a smart way to remove adjacent (x,y) points stored in some array?

Does there? I am thinking specifically about some matrix array where the rows correspond to x and y coordinates, e.g. 4 3 4 5 5 4 3 4 4 4 such that (4,3) and (4,5) etc. are (x,y) points. The problem is this: If one of the points in the list is surrounded adjacently by […]