how can I determine the density in each quadrant or small region of randomly uniformly deployed points in a 3D plot

3 ビュー (過去 30 日間)
I have a 3D plot of random and uniformly distributed points. how could i determine the density in each quardrant/sector or subdivided area.
  18 件のコメント
Tamoor Shafique
Tamoor Shafique 2020 年 9 月 6 日
so how can i determine linear distances of each point from others in each sub cube? would it be an AxB matrics for the distances in each sub cube where A is node number and B be the total number of nodes in that subcube?
I want to do some computation on it but i need to understand how to ontain the data first.
Walter Roberson
Walter Roberson 2020 年 9 月 6 日
so how can i determine linear distances of each point from others in each sub cube
Separate the points according to sub-cube, and pdist() them. If you have a subcube number already for each coordinate, then you can use
splitapply(@(points) {pdist(points)}, list_of_coordinates, subcube_number_for_each_coordinate)

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

回答 (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