Counting the objects over specified location.

I have a network and this network is divided into grid. Network consits of random nodes. Now how do i calculate the number of nodes (red diamond) within this grid? First each Grid should be given an appropriate name. If Grid(1) is input then output should be 3 and so on.

 Respuesta aceptada

Image Analyst
Image Analyst el 30 de Jun. de 2020

1 voto

I'd try histogram2(). Make sure you pass in the gridlines as "edges" in the input arguments.

Más respuestas (0)

Categorías

Más información sobre WSNs en Centro de ayuda y File Exchange.

Preguntada:

el 29 de Jun. de 2020

Comentada:

el 30 de Jun. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by