Clear Filters
Clear Filters

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.

1 view (last 30 days)
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.

Accepted Answer

KSSV
KSSV on 30 Mar 2023

More Answers (0)

Community Treasure Hunt

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

Start Hunting!