How to find difference of X values and Y values in given set of co-ordinate points?
조회 수: 5 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Computational Geometry에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!