Counting the objects over specified location.

1 回表示 (過去 30 日間)
sagun subedi
sagun subedi 2020 年 6 月 29 日
コメント済み: sagun subedi 2020 年 6 月 30 日
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.

採用された回答

Image Analyst
Image Analyst 2020 年 6 月 30 日
I'd try histogram2(). Make sure you pass in the gridlines as "edges" in the input arguments.
  1 件のコメント
sagun subedi
sagun subedi 2020 年 6 月 30 日
Thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWSNs についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by