how to extract the value from voronoi diagram in matlab?

38 views (last 30 days)
I need to know how to extract the value from the "voronoi" diagram in matlab. Please reply to me as soon as possible.
I'm plotting this graph by using this command "voronoi". And now I want to extract the value of each "node" in each "cluster".
  2 Comments

Sign in to comment.

Accepted Answer

Geoff Hayes
Geoff Hayes on 2 Sep 2014
Arul - if you want to get the vertices for each Voronoi cell, then use voronoin. For example, from this link, [V,C] = voronoin(X) returns Voronoi vertices V and the Voronoi cells C of the Voronoi diagram of X.
  14 Comments
Mark Neoglobal
Mark Neoglobal on 20 Sep 2015
hello. i am using this code and need to display the number of packets received and sent by each cluster head. how is it possible. any help?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!