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 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

KSSV
KSSV il 30 Mar 2023

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by