How to pick neighborhoods points of a center point in rectangle or square form that make a matrix of like 5*5, 7*7, 7*5 etc.

3 次查看(过去 30 天)
I have points of a torus, and i want to pick the patch "shaded area" or i want to pick the neighrborhoods points of a center points in rectangle or square form. I applied the rangesearch from MATLAB and got red points as neighborhoods points, but i want the neighborhoods points in a patch form (rectangle or in square form). Please suggest how can i get the patch like this.

采纳的回答

KSSV
KSSV 2023-3-30

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by