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

1 回表示 (過去 30 日間)
LAKSHMANAN ADAIKKAPPAN
LAKSHMANAN ADAIKKAPPAN 2016 年 2 月 16 日
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?

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by