How to find difference of X values and Y values in given set of co-ordinate points?

2 visualizaciones (últimos 30 días)
I have a co-ordinate points(x,y) such as (8,6),(5,5),(5,7),(11,9),(10,12),(11,7). In this, to compare consecutive two co-ordinate values in the given order and find difference of 'x' values and 'y' values. If difference of both 'x' values and 'y' values is less than or equal to 2, to eliminate the second(predecessor) co-ordinate value otherwise to store both a co-ordinate vales. Then continue the step till the last co-ordinate value. How can i get matlab code for this?

Respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by