필터 지우기
필터 지우기

Trace the index of x,y points across an indexed mask?

조회 수: 1 (최근 30일)
George Papas
George Papas 2016년 12월 13일
Hi guys,
I have an indexed mask (divided into 4 quadrants, see attached jpeg image and matrix 'Indexed mask') and I want to trace the index of individual x,y points of my matrix (see attached matrix 'Points x_y'), across this indexed mask.
In other words, I really want to measure how many times my x,y points change index (quadrant)? For example, say that my first x, y point is located in index 1 and my second x, y point is located in index 2. This is my first quadrant change (from index 1 to index 2). Then, my third x,y point goes back to index 1 again. This is my second quadrant change (from index 2 to 1). My fourth x,y point is located in index 3. This is my third quadrant change (from 1 to 3) and so on.
I would appreciate your help.
George

답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by