Counting the objects over specified location.
Show older comments
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.

Accepted Answer
More Answers (0)
Categories
Find more on WSNs in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!