Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How to label the interior of region as 2 where as boundary is already labelled as 4 for an object using Matlab coding

1 visualización (últimos 30 días)
I am using grids with width 10. I want the interior to be filled as 2. As shown in attached figure. Than I want to count all filled cells of 4 and 2. Regards for cooperation.

Respuestas (1)

KSSV
KSSV el 18 de Jul. de 2019
AS you have coordinates for the boundary (i.e 4), use inpolygon and get the coordinates lying inside it. Label them or fill the value you want.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by